How to send logs from different files to different logstash?

I have two files which I need to send to logstash:

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.