I have a small problem with filebeat and logstash.
On my logstash machine I receive data from two different servers (filebeat). The problem is that I don't want to apply the same filters to the 2 servers because they send different logs.
So my question is how to make logstash know what log it receives and what filter apply to it.
On the Filebeat side set different types for each type of log (use the document_type option), then use conditionals on the Logstash side to choose which filters to use for each type.
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.