# Unknown setting 'skip\_header' for csv

**URL:** https://discuss.elastic.co/t/unknown-setting-skip-header-for-csv/193077
**Category:** Logstash
**Created:** [July 31, 2019, 9:06am UTC](https://discuss.elastic.co/t/unknown-setting-skip-header-for-csv/193077 "2019-07-31T09:06:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)
#### Post date: [July 31, 2019, 9:06am UTC](https://discuss.elastic.co/t/unknown-setting-skip-header-for-csv/193077/1 "2019-07-31T09:06:48Z")

</div>

I got this error when I add skip\_header property in csv filter

> filter {  
> csv {  
> columns =\> [  
> "Date",  
> "Product Categories",  
> "Geo",  
> "Revenue"  
> ]  
> separator =\> ","  
> remove\_field =\> ["message"]  
> skip\_header =\> "true"  
> }  
> }

[2019-07-31T17:05:07,457][ERROR][logstash.filters.csv] Unknown setting 'skip\_header' for csv

Any help appreciated 🙂

---

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [July 31, 2019, 12:33pm UTC](https://discuss.elastic.co/t/unknown-setting-skip-header-for-csv/193077/2 "2019-07-31T12:33:03Z")

</div>

Which version of the filter do you have? Adding skip\_header was the most recent change in the filter.

```auto
/usr/share/logstash/bin/logstash-plugin list --verbose logstash-filter-csv
logstash-filter-csv (3.0.10)

```

If you have anything older than 3.0.10 you would need to upgrade.

---

<div class="post-metadata">

### Author: ![shwesinhan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shwesinhan/32/78663_2.png) [@shwesinhan](https://discuss.elastic.co/u/shwesinhan)
#### Post date: [August 1, 2019, 1:24am UTC](https://discuss.elastic.co/t/unknown-setting-skip-header-for-csv/193077/3 "2019-08-01T01:24:47Z")

</div>

Thanks @Badger  
Yeah, I need to upgrade then. I use logstash-filter-csv (3.0.5)

---

<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 29, 2019, 1:24am UTC](https://discuss.elastic.co/t/unknown-setting-skip-header-for-csv/193077/4 "2019-08-29T01:24:48Z")

</div>

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