-
Notifications
You must be signed in to change notification settings - Fork 456
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
Integrations that parse timestamps without a year fail after new year #4950
Comments
Looking at a handful of the SEI-owned packages, it's because the original logs don't include a year at all in the timestamp. This is expected for BSD/RFC 3164 syslog message timestamps ( @jsoriano any suggestions of how to address? Have we ever hit this issue with other integrations in the past? |
Hey @ebeahan, After confirming that the source log/event doesn't contain a year, I think there are a couple of options in the test configuration:
Not sure though if the second option will solve this problem. Another option is to just regenerate the expected results, but they will fail again next year 🙂 |
I've added:
and tests passed
@jsoriano, @andrewkroh should we go with the second option for the security packages? |
Using a dynamic field to handle the year SGTM. |
Yeah, sounds good, do you have a PR with the change for pfsense? |
we'll soon link a pr with changes for all security packages |
Security external integrations have updated our integrations: #4984 |
Thanks! |
It looks like all related issues have been fixed. Thanks all! |
Some integrations have started failing after the change of year. These integrations are likely parsing timestamps without a year.
These tests should be fixed by checking first if the year is actually not found in the logs, or if there is some parsing issue.
You can find the failing packages for example in these builds:
Pinging owners of affected packages: @elastic/security-external-integrations @elastic/obs-service-integrations @elastic/elastic-agent-data-plane
cc @elastic/ecosystem
The text was updated successfully, but these errors were encountered: