[system][syslog] add a pattern in filebeat.system module to capture greedy multiline logs with ISO timestamps#13427
Conversation
…reedy multiline logs with ISO timestamps
🚀 Benchmarks reportTo see the full report comment with |
...a_stream/syslog/_dev/test/pipeline/test-iso8601-timestamp-multiline-syslog.log-expected.json
Outdated
Show resolved
Hide resolved
|
Also, can you state details about the second ask as per this issue. |
Sure. The gh issue contains two points: Include the greedy grok pattern not only for SYSLOGTIMESTAMP, but for ISO8601 as well. |
| "input": { | ||
| "type": "log" | ||
| }, | ||
| "message": "2022-04-21T14:30:00Z\n\t\tGoogleSoftwareUpdateAgent[21412/0x700007399000] [lvl=2] -[KSUpdateEngine updateAllExceptProduct:] KSUpdateEngine updating all\n\t\tinstalled products, except:'com.google.Keystone'.", |
There was a problem hiding this comment.
This is still matching the 3rd pattern.
If you see we are getting fields as host.hostname, process.name which matches the 3rd pattern .
To match the 4th pattern , one of these fields should be sipped. So that other than timestamp the complete message becomes part of the greedymessage.
There was a problem hiding this comment.
hmm, what is the "tell" of it (I think I'm missing it)?
Since, we don't observe these logs and this could be a corner case.lets focus on just adding the ISO timestamp for this PR. |
packages/system/manifest.yml
Outdated
| name: system | ||
| title: System | ||
| version: "1.67.3" | ||
| version: "1.67.4" |
There was a problem hiding this comment.
| version: "1.67.4" | |
| version: "1.68.0" |
ishleenk17
left a comment
There was a problem hiding this comment.
Please make the version change. Otherwise, LGTM.
packages/system/changelog.yml
Outdated
| @@ -1,4 +1,9 @@ | |||
| # newer versions go on top | |||
| - version: "1.67.4" | |||
There was a problem hiding this comment.
| - version: "1.67.4" | |
| - version: "1.68.0" |
updated the version |
|
💚 Build Succeeded
History
|
|
Package system - 1.68.0 containing this change is available at https://epr.elastic.co/package/system/1.68.0/ |




Proposed commit message
add a pattern in filebeat.system module to capture greedy multiline logs with ISO timestamps
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots