A n00b question about sections in configuration files


#1

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.


(Charles Casadei) #2

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


(Mark Walkom) #3

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


#4

Thanks, Charles. That helps


#5

Thanks, Mark
Both responses, together, help tremendously

Thanks to everyone.


(system) #6

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