How to send logs from different files to different logstash?


(Dmitrii) #1

I have two files which I need to send to logstash:
/var/log/file1.log
/var/log/file2.log

and I'd like to send content of file1.log to host1:port1, but file2.log to host2:port2. Is it even possible to do somehow?


(Magnus B├Ąck) #2

Not within a single Filebeat instance.


(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.