How to execute multiple.yml files in single filebeat instan e


(Vikas) #1

I have 2.yml files placed in a directory say /root/input.d. I want to execute both files using one filebeat instance.

Also whenever new filebeat.yml is placed in same directory, filebeat picks new yml automatically. And also if any yml is updated then it is picked up automatically.

Please help.


(Mario Castro) #2

Hi :slight_smile:

AFAIK you can have more than one configuration per file, Why don't you merge the files into a single file?


(Vikas) #3

I have different output in both yml files. In one I am sending to logstash and in other to ES.


(Mario Castro) #4

So you can do this directly on Logstash https://www.elastic.co/blog/logstash-multiple-pipelines


(system) #5

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