Hi
I was wondering if it's possible to have multiple prospectors to read from different directory and based on that, send the events to a specific logstash.
ex: I want to read from router-log and send it to :5044
read from switch log and send it to :5045
and so on.
the thing is I don't want to send the events to all of the logstashes but the exact specific one.
It not possible to do event routing in Beats. The best you could do is apply fields or tags to the events on the beats side. Then do the routing in a LS instance based on those tags or just use the source value to do routing.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.