[solved] Multiple logstash config file

Either put all files in a directory and run Logstash with -f path/to/directory or use multiple -f options that each point to one of the files.

Keep in mind that Logstash has a single event pipeline and that all Logstash filters, no matter what file they're defined in, apply to all events unless you wrap the filters in conditionals that exclude them for e.g. certain message types.

2 Likes