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

Cherry-pick #5436 to master: Fix double @timestamp key when using JSON decoding #5444

Merged
merged 1 commit into from
Oct 26, 2017

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Oct 25, 2017

Cherry-pick of PR #5436 to master branch. Original message:

The MergeJSONFields was adding the parsed @timestamp key to the fields,
instead of modifying it into the Event structure. This change makes it
return the new timestamp (or the empty Timestamp if no change required),
and the caller sets it into the event.

The MergeJSONFields was adding the parsed @timestamp key to the fields,
instead of modifying it into the Event structure. This change makes it
return the new timestamp (or the empty Timestamp if no change required),
and the caller sets it into the event.

(cherry picked from commit fa0cfc5)
@monicasarbu monicasarbu merged commit 2853d44 into elastic:master Oct 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants