-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add pattern to handle logs from newer ES versions #17406
Conversation
Pinging @elastic/stack-monitoring (Stack monitoring) |
Pinging @elastic/integrations-services (Team:Services) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@elasticmachine run elasticsearch-ci/docs |
@ycombinator Hello, I just want to stress that this a bug with a huge impact. As the audit logs are enormous, the result is the clusters receiving these logs are not able to parse the timestamp which results in very heavy load and all kinds of issues. |
…astic#17422) * Add pattern to handle logs from newer ES versions * Adding CHANGELOG entry
What does this PR do?
Adds another date format pattern to accept dates with or without timezones, as seen in Elasticsearch audit logs. Older versions of Elasticsearch omit the timezone while newer versions introduce it. The change in this PR will allow the ingest pipeline to handle both.
Why is it important?
It fixes a bug introduced in #15942. Due to that bug, users who upgrade to Filebeat 7.6.0 or later are seeing errors like this:
Checklist
I have commented my code, particularly in hard-to-understand areasI have made corresponding changes to the documentationI have made corresponding change to the default configuration filesCHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.