-
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
[Filebeat][Checkpoint module] field [@timestamp] already exists #19938
Comments
Pinging @elastic/siem (Team:SIEM) |
I am seeing this on my fresh elastic 7.8 cluster too. @Bernhard-Fluehmann thank you for the fork, can you please open up a PR? |
I will try to take a look at this as well, timestamp should have been either overwritten or grabbed from the syslog header, but might be some niche cases. |
@hazcod Thank you for your report |
@Bernhard-Fluehmann Will this be fixed in the next filebeat release? Whether its 7.8.2 or 7.9? |
@bevano8 I hope in 7.9 but it depends on Elastic |
One of a customer reported the following error when using the filebeat checkpoint module:
error.message: field [@timestamp] already exists
This seems to be related to how the ingest pipeline sets the timestamps, especially when the log contains a checkpoint.time field. Since none of the logs of test/checkpoint.log contains this field, the problem may not appear in the unit tests.
https://github.com/RealStuff/beats/tree/checkpoint-fix contains a fix for the problem.
Basically it renames the @timestamp field created by filebeat to event.created. In addition, rename processors were replaced by date processors to create the final @timestamp field.
Please let me know what you think about this fix. If you find it usable, I will create a pull request.
For confirmed bugs, please report:
The text was updated successfully, but these errors were encountered: