How to send logs from different files to different logstash?

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?

Not within a single Filebeat instance.

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