Logstash - Creating multiple pipelines for beats inputs on same port

Am trying to create multiple pipelines beatsPipeline1 and beatsPipeline2 in logstash listening to beats events from same port but getting error saying address in use for second pipeline:

  • pipeline.id: beatsPipeline1
    path.config: "/ElasticSearch/newChnages/pipeline_config/beatsRouter.conf"
    pipeline.workers: 1
    pipeline.batch.size: 500
  • pipeline.id: beatsPipeline2
    path.config: "/ElasticSearch/newChnages/pipeline_config/beatsRouter.conf"
    pipeline.workers: 1
    pipeline.batch.size: 500

beatsRouter.conf:
input {
beats {
port => 5044
}
} output{.....}

If you want data posted to a beats input to be processed in two different pipelines then use pipeline to pipeline communications with a forked path pattern.

Thanks @Badger that works.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.