Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding new plugin for parsing ovn logs LOG-1377(WIP) #2152

Closed

Conversation

ajaygupta978
Copy link

Description

This plugin parses OVN logs and transform into json structure.

/cc @vimalk78
/assign @jcantrill

Links

@ajaygupta978
Copy link
Author

This plugin will take OVN as input and transform into json structure.
Example Input:

2021-07-06T08:26:58.687Z|00004|acl_log(ovn_pinctrl0)|INFO|name="verify-audit-logging_deny-all", verdict=drop, severity=alert:icmp,vlan_tci=0x0000,dl_src=0a:58:0a:81:02:12,dl_dst=0a:58:0a:81:02:14,nw_src=10.129.2.18,nw_dst=10.129.2.20,nw_tos=0,nw_ecn=0,nw_ttl=64,icmp_type=8,icmp_code=0

Output:

{"@timestamp":"2021-07-06T08:26:58.687Z",
"level":"info",
"structured":{
   "name":"\"verify-audit-logging_deny-all\"",
    "verdict":"drop",
    "severity":"alert:icmp",
    "vlan_tci":"0x0000",
    "dl_src":"0a:58:0a:81:02:12",
    "dl_dst":"0a:58:0a:81:02:14",
    "nw_src":"10.129.2.18",
    "nw_dst":"10.129.2.20",
    "nw_tos":"0",
    "nw_ecn":"0",
    "nw_ttl":"64",
    "icmp_type":"8",
    "icmp_code”:”0”
}, 
"hostname": "example.com"}

@ajaygupta978
Copy link
Author

/retest

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 12, 2021

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ajaygupta978
To complete the pull request process, please ask for approval from jcantrill after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ajaygupta978
Copy link
Author

@vimalk78 added more tests. Please review.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jul 12, 2021

@ajaygupta978: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
ci/prow/elastic-operator-e2e 003aa3c link /test elastic-operator-e2e

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@jcantrill
Copy link
Contributor

Closing given @ajaygupta978 per the path we are on for this feature we determined it was not required

@jcantrill jcantrill closed this Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants