I have multiple pipelines feeding into logstash (metricbeat, filebeat, winlogbeat, etc.) and each of them share some common filters. I am wondering if there is a way to have some filters in a location that each of the pipelines can access so I don't need to have the filters copied in every single pipeline.
Is this possible? Is there any way at all to have common filters reused by multiple pipelines?
I ended up using pipeline-to-pipeline communication and also using conditional logic in the "Output" section of my pipeline. You can include multiple "Inputs" perform the same filters on all of those inputs and then use conditional logic in the output section to distribute each event to the desired index or to another pipeline. Hope this helps anyone with a similar question.
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.