# Error to Push CQV files from Logstash to Elastic

**URL:** <https://discuss.elastic.co/t/error-to-push-cqv-files-from-logstash-to-elastic/239887>\
**Category:** Logstash\
**Created:** [July 4, 2020, 11:32am UTC](https://discuss.elastic.co/t/error-to-push-cqv-files-from-logstash-to-elastic/239887 "2020-07-04T11:32:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zizou90](https://avatars.discourse-cdn.com/v4/letter/z/7ea924/32.png) [@zizou90](https://discuss.elastic.co/u/zizou90)\
**Post date:** [July 4, 2020, 11:32am UTC](https://discuss.elastic.co/t/error-to-push-cqv-files-from-logstash-to-elastic/239887/1 "2020-07-04T11:32:44Z")

</div>

Helllo, I have 5 CSV files (separator : , ) with the same structures but the last one haven't the same order of columns : example :

the columns of the Files number 1 2 3 4 like this :

Price |Date | Quantity |

The file number 5 is like this :

Date|Price| Quantity

so when i push the data of the 5 files i will have an error that the type are incorrect, and this is normal because he considerate the first column in the file number 5 is Price and not "Date " like in the others file

I tryed to detect columns to resolve the problem but nothing  
Any idea please ?

Thank you

---

<div class="post-metadata">

**Author:** ![Jeeth](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jeeth/32/71724_2.png) [@Jeeth](https://discuss.elastic.co/u/Jeeth)\
**Post date:** [July 7, 2020, 10:36am UTC](https://discuss.elastic.co/t/error-to-push-cqv-files-from-logstash-to-elastic/239887/2 "2020-07-07T10:36:39Z")

</div>

Yes that is expected. You may use different filter on failed columns seperately in Logstash conf 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 4, 2020, 3:27pm UTC](https://discuss.elastic.co/t/error-to-push-cqv-files-from-logstash-to-elastic/239887/4 "2020-08-04T15:27:27Z")

</div>

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