A n00b question about sections in configuration files

I have seen examples with input, filter, and output sections in separate files and others with them grouped into fewer files.

Does the behavior change when you group config sections into one file ?

... when you separate sections into separate files ?

Thanks.

Logstash merges all the config files before starting up, so you could split input, filters and outputs into multiple files with no problem :wink:

1 Like

If you have multiple files then make sure you use conditionals, so that only the appropriate filters and outputs are applied.

Thanks, Charles. That helps

Thanks, Mark
Both responses, together, help tremendously

Thanks to everyone.

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