# Csv filter can only be used for one file? (multiple files messes up fields/columns)

**URL:** <https://discuss.elastic.co/t/csv-filter-can-only-be-used-for-one-file-multiple-files-messes-up-fields-columns/99995>\
**Category:** Logstash\
**Created:** [September 11, 2017, 4:20am UTC](https://discuss.elastic.co/t/csv-filter-can-only-be-used-for-one-file-multiple-files-messes-up-fields-columns/99995 "2017-09-11T04:20:40Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![kmsasidhar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmsasidhar/32/21838_2.png) [@kmsasidhar](https://discuss.elastic.co/u/kmsasidhar)\
**Post date:** [September 11, 2017, 5:15am UTC](https://discuss.elastic.co/t/csv-filter-can-only-be-used-for-one-file-multiple-files-messes-up-fields-columns/99995/6 "2017-09-11T05:15:03Z")

</div>

> [@\[solved\] Multiple logstash config file](https://discuss.elastic.co/t/solved-multiple-logstash-config-file/51692/6):
>
> 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

Pl refer to the above link.

Type can still be used.  
Magnus of course, can solve it in a sec.

---

_[View the full topic](https://discuss.elastic.co/t/csv-filter-can-only-be-used-for-one-file-multiple-files-messes-up-fields-columns/99995)._
