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

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.

Hi :slight_smile:

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

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

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

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