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{.....}