Is it possible to create a master conf file and "overrides"

Hello,
I have a logstash.conf file that I use for several indexes.
The only difference between each conf file is the input path and the index name in the output to elasticsearch.

I would like to create a single conf file as a skeleton file, and then have each index "inherit" this file and then only set the input path and output index-name.

Is something like that possible in logstash? it makes complex configuration modular, and that's a very good thing to have.

Thanks,
JD

I would like to create a single conf file as a skeleton file, and then have each index "inherit" this file and then only set the input path and output index-name.

Logstash has nothing built-in for this.

See Recommended way to maintain multiple logstash output plugin configuration - #2 by magnusbaeck for a recent very similar question.

Thank you, yes I'm aware of the external ways to accomplish that. I think it's a nice use case for the Logstash product team. Thank you Magnus!

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