-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to CEF parser 0.0.1.10 (#24)
OSSEC is using a "degraded" syslog format without hostname field. Fixes #23
- Loading branch information
Showing
2 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
src/test/resources/fixtures/issue_23_comment_343792271.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"testString": "<132>Nov 13 13:17:41 CEF:0|Trend Micro Inc.|OSSEC HIDS|v2.9.2|1002|Unknown problem somewhere in the system.|2|dvc=log cs1=(proxy) any->/var/log/syslog cs1Label=Location classification= syslog,errors, msg=Nov 13 13:17:39 proxy tinyproxy[26954]: readbuff: recv() error \"Connection reset by peer\" on file descriptor 6", | ||
"description": "https://github.com/Graylog2/graylog-plugin-cef/issues/23#issuecomment-343792271", | ||
"remoteAddress": "127.0.0.1", | ||
"expectedSource": "log", | ||
"cefVersion": 0, | ||
"deviceVendor": "Trend Micro Inc.", | ||
"deviceProduct": "OSSEC HIDS", | ||
"deviceVersion": "v2.9.2", | ||
"deviceEventClassId": "1002", | ||
"name": "Unknown problem somewhere in the system.", | ||
"severity": "2", | ||
"extensions": { | ||
"level": 4, | ||
"facility": "local0", | ||
"Location": "(proxy) any->/var/log/syslog", | ||
"classification": "syslog,errors,", | ||
"msg": "Nov 13 13:17:39 proxy tinyproxy[26954]: readbuff: recv() error \"Connection reset by peer\" on file descriptor 6" | ||
} | ||
} |