Do not allow arbitrary value for timestamp field #2064
Closed
Comments
kroepke
added a commit
that referenced
this issue
Apr 12, 2016
If the timestamp field of a message is incompatible to the ES format we are using, or an unknown data type (non Date, DateTime or String), force the timestamp to be "now". This prevents bad extractors or inputs from causing these malformed messages to be discarded. fix #2064
bernd
added a commit
that referenced
this issue
Apr 12, 2016
If the timestamp field of a message is incompatible to the ES format we are using, or an unknown data type (non Date, DateTime or String), force the timestamp to be "now". This prevents bad extractors or inputs from causing these malformed messages to be discarded. fix #2064
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem description
Message inputs that use part of an incoming message as timestamp value or extractors that overwrite timestamp can lead to malformed timestamp fields. This leads to losing messages, because the mapping for timestamp in elasticsearch is very strict.
Steps to reproduce the problem
{"version":"1.1", "short_message":"foo","host":"hostname"}
.copy_input
on fieldmessage
, overwriting the fieldtimestamp
.Environment
The text was updated successfully, but these errors were encountered: