# Multiple pipelines output to one cluster - only one of them picks up logs

**URL:** <https://discuss.elastic.co/t/multiple-pipelines-output-to-one-cluster-only-one-of-them-picks-up-logs/257877>\
**Category:** Logstash\
**Created:** [December 7, 2020, 4:30pm UTC](https://discuss.elastic.co/t/multiple-pipelines-output-to-one-cluster-only-one-of-them-picks-up-logs/257877 "2020-12-07T16:30:53Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Ilya\_Geller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ilya_geller/32/52615_2.png) [@Ilya\_Geller](https://discuss.elastic.co/u/Ilya_Geller)\
**Post date:** [December 7, 2020, 6:07pm UTC](https://discuss.elastic.co/t/multiple-pipelines-output-to-one-cluster-only-one-of-them-picks-up-logs/257877/3 "2020-12-07T18:07:23Z")

</div>

Thanks for the reply.

My `pipelines.yml` file is the default one, I haven't touched it.

```
- pipeline.id: main
  path.config: "/etc/logstash/conf.d/*.conf"

```

As for my pipelines, I can't really share them since they are on a private network, however the general idea is:  
`pipeline 1: `

```
input {
    file{
        ...pick up local files...    
    }
}

filter{
    multiple filters{
     ....
    }
}
output{
    elasticsearch{
        hosts => ["es_node"]    
        index => "index-1"
    }
}

```

`pipeline 2: `

```
input {
    http{
        ...get logs via http...
    }
}

filter{
    different filters{
     ....
    }
}
output{
    elasticsearch{
        hosts => ["es_node"]    
        index => "index-2"
    }
}

```

Logstash output is normal without errors

```auto
...
[main] Pipeline started {"pipeline.id"=>"main"}
...
 Successfully started Logstash API endpoint {:port=>9600}

```

I hope this is enough information...

---

_[View the full topic](https://discuss.elastic.co/t/multiple-pipelines-output-to-one-cluster-only-one-of-them-picks-up-logs/257877)._
