# Logstash is sending logs to all output index configured in all conf's in pipeline

**URL:** https://discuss.elastic.co/t/logstash-is-sending-logs-to-all-output-index-configured-in-all-confs-in-pipeline/235341
**Category:** Logstash
**Tags:** windows
**Created:** [June 2, 2020, 1:05pm UTC](https://discuss.elastic.co/t/logstash-is-sending-logs-to-all-output-index-configured-in-all-confs-in-pipeline/235341 "2020-06-02T13:05:48Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ramkumar.J](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramkumar.j/32/69571_2.png) [@ramkumar.J](https://discuss.elastic.co/u/ramkumar.J)
#### Post date: [June 2, 2020, 1:05pm UTC](https://discuss.elastic.co/t/logstash-is-sending-logs-to-all-output-index-configured-in-all-confs-in-pipeline/235341/1 "2020-06-02T13:05:48Z")

</div>

I have a Logstash(6.8) configured with more than one conf files using one pipeline. when i execute the logstash, it is collecting logs from all inputs and sending it to all output Elastic Search index configured in pipeline conf.

Need help to fix this issue.

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [June 2, 2020, 1:13pm UTC](https://discuss.elastic.co/t/logstash-is-sending-logs-to-all-output-index-configured-in-all-confs-in-pipeline/235341/2 "2020-06-02T13:13:35Z")

</div>

That sounds like it is working as expected. Events from all the inputs in a single pipeline are sent to all of the outputs. If you want the configuration files to be independent then use pipelines.yml to run each in its own pipeline.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 30, 2020, 1:13pm UTC](https://discuss.elastic.co/t/logstash-is-sending-logs-to-all-output-index-configured-in-all-confs-in-pipeline/235341/3 "2020-06-30T13:13:37Z")

</div>

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