# Logs of Different Indices are merging with each other

**URL:** <https://discuss.elastic.co/t/logs-of-different-indices-are-merging-with-each-other/216610>\
**Category:** Beats\
**Tags:** winlogbeat\
**Created:** [January 27, 2020, 7:10am UTC](https://discuss.elastic.co/t/logs-of-different-indices-are-merging-with-each-other/216610 "2020-01-27T07:10:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohammadawaisjavaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammadawaisjavaid/32/60807_2.png) [@mohammadawaisjavaid](https://discuss.elastic.co/u/mohammadawaisjavaid)\
**Post date:** [January 27, 2020, 7:10am UTC](https://discuss.elastic.co/t/logs-of-different-indices-are-merging-with-each-other/216610/1 "2020-01-27T07:10:30Z")

</div>

Hello all. I am sending logs of windows to a index using winlogbeat and also I am sending logs of Icinga to other index using icingabeat. The problem I am facing is that the logs are not going to specific index that i have mentioned but instead the logs are going to the cross indices. and merging with each other indices.  
Need help in this. Can any one point out the mistake I am doing. Is it a restriction of beats to merge data. Need guidance. Please help! ?

---

<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:** [January 27, 2020, 8:18am UTC](https://discuss.elastic.co/t/logs-of-different-indices-are-merging-with-each-other/216610/2 "2020-01-27T08:18:26Z")

</div>

I assume you are using Logstash and have multiple configuration files in a directory? Logstash by default merges these into a single pipeline, which means data from all inputs will go to all outputs unless you use conditionals to control the flow.

---

<div class="post-metadata">

**Author:** ![mohammadawaisjavaid](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohammadawaisjavaid/32/60807_2.png) [@mohammadawaisjavaid](https://discuss.elastic.co/u/mohammadawaisjavaid)\
**Post date:** [January 29, 2020, 5:21am UTC](https://discuss.elastic.co/t/logs-of-different-indices-are-merging-with-each-other/216610/3 "2020-01-29T05:21:50Z")

</div>

Thanks @Christian_Dahlqvist for the answer. Query Resolved 🙂

---

<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:** [February 26, 2020, 5:21am UTC](https://discuss.elastic.co/t/logs-of-different-indices-are-merging-with-each-other/216610/4 "2020-02-26T05:21:55Z")

</div>

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