I searched the logstash docs but i could not find out how logstash executes the filters.
I will explain by example:
Multiple config files, apache.conf nginx.conf logic.conf Both nginx and apache config files contain a filter that will trigger if their type is met and add a tag called "please_do_logic".
logic.conf contains several grok filters that will extract the request part from the previous grokked log lines in nginx.conf and apache.conf
I have 2 questions:
- How does logstash decide which config file will be executed first?
- How can you ensure the logic.conf part will be executed after apache.conf and nginx.conf have been executed? I know you can put everything in a single file / filter and go on from there but that would create messy config files and this would be a last resort measure.
Thanks