Closed
Description
PR #5844 adds the new document_id setting for json decoding. This configures the field in the JSON document, that is read into @metadata.id
.
The elasticsearch output sets the document id @metadata.id
if present and uses the create operation -> if ID exists already, event is not indexed again.
For other outputs the @metadata.id
field is added to the event so it can be used by logstash.
The original PR mentions the new setting, but we have to add some more documentation about the impact.