elastic / elastic/logstash

Support for keeping @metadata in output plugins

Open
#8,535 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

We need to keep some @metadata fields across different instances of logstashes. In architecture "logstash -> kafka -> indexing logstash" the indexing logstash needs to know index names and some other values which are "computed" in the first logstash and stored in @metadata. Currently we are copying some @metadata fields to @anotherfield and use this field in indexing logstash. But it would be probably much better to have following option for all logstash output plugins:

"keep_metadata" => true/false (default false)

So we would be able to share @metadata.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.