# Unknown setting 'autodetect\_column\_names' for csv

**URL:** <https://discuss.elastic.co/t/unknown-setting-autodetect-column-names-for-csv/97618>\
**Category:** Logstash\
**Created:** [August 18, 2017, 5:19pm UTC](https://discuss.elastic.co/t/unknown-setting-autodetect-column-names-for-csv/97618 "2017-08-18T17:19:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cchooks2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cchooks2/32/21987_2.png) [@cchooks2](https://discuss.elastic.co/u/cchooks2)\
**Post date:** [August 18, 2017, 5:19pm UTC](https://discuss.elastic.co/t/unknown-setting-autodetect-column-names-for-csv/97618/1 "2017-08-18T17:19:05Z")

</div>

Hello,

I am trying to test out a config to the console for a csv file and am getting the following error:

Unknown setting 'autodetect\_column\_names' for csv

My config:

input {  
file {  
path =\> "/apps/logstash-5.2.0/bin/testcsv.csv"  
start\_position =\> "beginning"

```
}

```

}

filter {  
csv {  
autodetect\_column\_names =\> true  
}

}

output {  
stdout {  
codec =\> rubydebug {}  
}  
}

How is this not recognizing the filter plugin?

Thanks.

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [August 20, 2017, 6:31pm UTC](https://discuss.elastic.co/t/unknown-setting-autodetect-column-names-for-csv/97618/2 "2017-08-20T18:31:43Z")

</div>

Your version of the csv filter is too old. You can run `logstash-plugin list --verbose` to find out what you have. The same program can be used to upgrade it. Upgrading Logstash would also give you a new plugin version.

---

<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:** [September 17, 2017, 6:31pm UTC](https://discuss.elastic.co/t/unknown-setting-autodetect-column-names-for-csv/97618/3 "2017-09-17T18:31:44Z")

</div>

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