Centralize Kafka input settings


Is there a way to refer to one file in my Logstash configuration files where I put all Kafka input general settings and avoid flooding (20 rows that are the same) each pipeline?

Thank you!

There is no include function in logstash. You might be able to use environment variables. Either to set the common values, or to have a single file shared by several pipelines where the different options (topic?) are set via an environment variable.

It'd be nice to include common options to keep stuff more transparent. If I make changes on the input settings of all Kafka pipelines, I need to do that on each node * 20 times. Of course, the deployment isn't the issue, updating each configuration file unnecessarily is.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.