# \[solved\] Multiple logstash config file

**URL:** <https://discuss.elastic.co/t/solved-multiple-logstash-config-file/51692>\
**Category:** Logstash\
**Created:** [June 2, 2016, 1:12pm UTC](https://discuss.elastic.co/t/solved-multiple-logstash-config-file/51692 "2016-06-02T13:12:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Prateek\_Kshtriya](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@Prateek\_Kshtriya](https://discuss.elastic.co/u/Prateek_Kshtriya)\
**Post date:** [June 10, 2016, 1:47pm UTC](https://discuss.elastic.co/t/solved-multiple-logstash-config-file/51692/6 "2016-06-10T13:47:52Z")

</div>

> [@magnusbaeck](#):
>
> -f path/to/directory

I Have tried the option . Yes it is working to post the data but all the data is getting posted for every index i.e Index 1 & Index2 is having mixed data.  
Please suggest where I am missing.

Regards,  
Prateek

---

_[View the full topic](https://discuss.elastic.co/t/solved-multiple-logstash-config-file/51692)._
