# Why the same logs ingested over multiple index

**URL:** <https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901>\
**Category:** Elasticsearch\
**Created:** [July 28, 2020, 12:23pm UTC](https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901 "2020-07-28T12:23:06Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anirbandas](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@anirbandas](https://discuss.elastic.co/u/anirbandas)\
**Post date:** [July 28, 2020, 12:23pm UTC](https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901/1 "2020-07-28T12:23:06Z")

</div>

Hi ,

Recently we have configured the ELK cluster but when i start the collecting logs through logstash from three log sources like firewall, cisco router and windows server, i can see that that firewall logs ingested to both cisco router index, windows server index and also firewall index . The same thing has happen with cisco router and windows server. So, can i request anyone who can help me out of this situation.

Regards  
Anirban

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [July 28, 2020, 12:32pm UTC](https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901/2 "2020-07-28T12:32:43Z")

</div>

I would guess that you are using Logstash and have multiple configuration files. Be aware that Logstash by default merges all files into a single pipeline and that data from all input will go to all outputs unless you control the flow using conditionals or define separate pipelines in pipelines.yml.

---

<div class="post-metadata">

**Author:** ![anirbandas](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@anirbandas](https://discuss.elastic.co/u/anirbandas)\
**Post date:** [July 28, 2020, 12:37pm UTC](https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901/3 "2020-07-28T12:37:23Z")

</div>

Thanks a lot Christian, you are correct and let me try with defining different pipeline in the pipeline.yml file

---

<div class="post-metadata">

**Author:** ![anirbandas](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@anirbandas](https://discuss.elastic.co/u/anirbandas)\
**Post date:** [July 28, 2020, 12:38pm UTC](https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901/4 "2020-07-28T12:38:35Z")

</div>

Thanks a lot Christian, you are correct and let me try with defining different pipeline .

---

<div class="post-metadata">

**Author:** ![anirbandas](https://avatars.discourse-cdn.com/v4/letter/a/e56c9b/32.png) [@anirbandas](https://discuss.elastic.co/u/anirbandas)\
**Post date:** [July 28, 2020, 5:23pm UTC](https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901/5 "2020-07-28T17:23:28Z")

</div>

Thanks my issue has been resolved, after doing some modification in logstash.yml file because it is ignoring the pipeline.yml file

---

<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:** [August 25, 2020, 5:23pm UTC](https://discuss.elastic.co/t/why-the-same-logs-ingested-over-multiple-index/242901/6 "2020-08-25T17:23:43Z")

</div>

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