Hello all,
this is my pipelines.yml file and is working really fine
- pipeline.id: distributor
config.string: |
input { beats { port => 5044 } }
output {
if "pc1" in [tags] {
pipeline { send_to => proccess_1 }
} else if "pc2" in [tags] {
pipeline { send_to => proccess_2 }
} else {
# do nothing
}
}
- pipeline.id: proccess_1
path.config: "/usr/share/logstash/pipeline/logstash-pipeline-1.conf"
- pipeline.id: proccess_2
path.config: "/usr/share/logstash/pipeline/logstash-pipeline-2.conf"
how can apply more than one pipeline to the same tag events? for example, when pc1 events arrives from filebeat, besides sending it to
- pipeline.id: proccess_1
path.config: "/usr/share/logstash/pipeline/logstash-pipeline-1.conf"
I would like to two different pipelines :
- pipeline.id: proccess_1
path.config: "/usr/share/logstash/pipeline/logstash-pipeline-1.conf"
path.config: "/usr/share/logstash/pipeline/logstash-pipeline-1-b.conf"
Is that posible?
Regards