# Wrong doc filter cvs convert

**URL:** <https://discuss.elastic.co/t/wrong-doc-filter-cvs-convert/56018>\
**Category:** Logstash\
**Created:** [July 20, 2016, 7:18pm UTC](https://discuss.elastic.co/t/wrong-doc-filter-cvs-convert/56018 "2016-07-20T19:18:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlexisAnzieu](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@AlexisAnzieu](https://discuss.elastic.co/u/AlexisAnzieu)\
**Post date:** [July 20, 2016, 7:18pm UTC](https://discuss.elastic.co/t/wrong-doc-filter-cvs-convert/56018/1 "2016-07-20T19:18:00Z")

</div>

Hi,

There is a problem with the doc example :

[https://www.elastic.co/guide/en/logstash/current/plugins-filters-csv.html#plugins-filters-csv-convert](https://www.elastic.co/guide/en/logstash/current/plugins-filters-csv.html#plugins-filters-csv-convert)

```
filter {
  csv {
    convert => { "column1" => "integer", "column2" => "boolean" }
  }
}

```

it should be

```
filter {
  csv {
    convert => { "column1" => "integer"
                 "column2" => "boolean"
   }
  }
}

```

Without the coma, or it catches an error when launching logstash.

---

<div class="post-metadata">

**Author:** ![jpcarey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpcarey/32/46668_2.png) [@jpcarey](https://discuss.elastic.co/u/jpcarey)\
**Post date:** [July 20, 2016, 10:07pm UTC](https://discuss.elastic.co/t/wrong-doc-filter-cvs-convert/56018/2 "2016-07-20T22:07:31Z")

</div>

Looks like this was fixed, but website documentation has not be regenerated yet. Thank you for reporting this.

> <https://github.com/logstash-plugins/logstash-filter-csv/issues/28>

---

<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:** [July 6, 2017, 4:47am UTC](https://discuss.elastic.co/t/wrong-doc-filter-cvs-convert/56018/3 "2017-07-06T04:47:07Z")

</div>

Closed on July 6, 2017, 4:47am UTC


