Compose logstash configuration from multiple files (import config fragments)


(Presence) #1

I have a few pipelines that contain common configuration (filters, mainly). Is there a logstash mechanism whereby I can lift the common config out into a separate file and have this imported into the primary config file at load time? This would make modifying the bits of shared config much quicker and more consistent. Ideally logstash would also be able to auto reload when the imported file changed.


(Christian Dahlqvist) #2

You could define multiple pipelines and use pipeline-to-pipeline communication to send data between them.


(system) closed #3

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