Bonjour tout le monde, j'aimerais savoir si il était possible de link l'output filebeat au pipeline.id défini dans le pipelines.yml de logstash pour ne pas avoir à instancier plusieurs filebeat et n'utiliser qu'un port sur logstash, par exemple 5044, le filtrage serait implicite sur le pipeline.id?
Instead of running multiple filebeat + Logstash with multiple ports, you can forward events to respective pipelines using conditionals. E.g. inputs in filebeat have a pipeline setting. This setting is used for selecting an Elasticsearch Ingest Node pipeline. I like to use the setting for sending to Logstash as well. If set the beat will send the pipeline name in [@metadata][pipeline] to Logstash. Here it can be used for filtering. Logstash drops the [@metadata] when publishing events to it's outputs.
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.