Kafka input plugin does not set @metadata fields

Oy. That's frustrating.

Metadata is only added to the event if the decorate_events option is set to true (it defaults to false); we should definitely make it easier to find and make sense of what's included :weary:.

decorate_events

  • Value type is boolean
  • Default value is false

Option to add Kafka metadata like topic, message size to the event.

I've opened an issue on the plugin to improve the docs: logstash-plugins/logstash-input-kafka#255

1 Like