# Logstash-csv filter

**URL:** <https://discuss.elastic.co/t/logstash-csv-filter/124759>\
**Category:** Logstash\
**Created:** [March 20, 2018, 12:30pm UTC](https://discuss.elastic.co/t/logstash-csv-filter/124759 "2018-03-20T12:30:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![paresh\_Panda](https://avatars.discourse-cdn.com/v4/letter/p/9de053/32.png) [@paresh\_Panda](https://discuss.elastic.co/u/paresh_Panda)\
**Post date:** [March 20, 2018, 12:30pm UTC](https://discuss.elastic.co/t/logstash-csv-filter/124759/1 "2018-03-20T12:30:41Z")

</div>

Hi,  
I am trying Logstash csv filter to put csv data into elastic search. There is a chance that new csv fields will be added in future. I am looking for an option where by deafult the new fields are converted as integer.

Is there a way out. I am ok, if any plugin code is also to be written.  
Automatic columns will be created as I find now, but could not find a way how to add automatic conversion for the new columns.

Regards  
Paresh

---

<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:** [April 17, 2018, 12:30pm UTC](https://discuss.elastic.co/t/logstash-csv-filter/124759/2 "2018-04-17T12:30:44Z")

</div>

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