logstash-plugins / logstash-integration-kafka

Kafka Integration for Logstash, providing Input and Output Plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Header Field Reference and Example Needed

eternalyperplxed opened this issue · comments

Tell us about the issue

Description:
Kafka headers can be added to the event by using the decorate_events field, however the field name is not included in the documentation URL's listed below. The only reference to headers is in the line "Option to add Kafka metadata like topic, message size and header key values to the event."

Additional information needs to be added that says when using the extended option for decorate_events, the field [@metadata][kafka][headers] will also be included in the available attributes. The header keys and values will be arbitrary based on the Kafka implementation, however giving an example in the list of attributes would be helpful.

URL:

https://www.elastic.co/guide/en/logstash/8.0/plugins-inputs-kafka.html#_metadata_fields
https://www.elastic.co/guide/en/logstash/8.0/plugins-inputs-kafka.html#plugins-inputs-kafka-decorate_events

Any updates on this? I'm also not finding any examples and can't get this to work.