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

Fix conditions for date processors without timezones #13883

Merged

Conversation

jsoriano
Copy link
Member

@jsoriano jsoriano commented Oct 2, 2019

Some ingest processors use event.timezone field as timezone for the
date processor. In the case the field is set, the date processor was
being run twice, one without timezone and another one with timezone. If
the field is not set, the date processor was ignoring error. Change date
processor parameters so only one is run and both are consistent with
error handling.

More context about this change in #13367 (comment)

This has to be revisited also in some other modules, but they are the
ones affected by #13877 and it will be fixed all together.

Some ingest processors use `event.timezone` field as timezone for the
date processor. In the case the field is set, the date processor was
being run twice, one without timezone and another one with timezone. If
the field is not set, the date processor was ignoring error. Change date
processor parameters so only one is run and both are consistent with
error handling.
@jsoriano jsoriano force-pushed the skip-date-processor-event-timezone branch from ba0707d to fba5c6b Compare October 2, 2019 16:52
@jsoriano jsoriano added the v7.5.0 label Oct 3, 2019
@jsoriano jsoriano merged commit b380b9b into elastic:master Oct 3, 2019
@jsoriano jsoriano deleted the skip-date-processor-event-timezone branch October 3, 2019 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Filebeat Filebeat module review Team:Integrations Label for the Integrations team v7.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants