# Logstash.conf error

**URL:** <https://discuss.elastic.co/t/logstash-conf-error/286088>\
**Category:** Logstash\
**Created:** [October 7, 2021, 3:41am UTC](https://discuss.elastic.co/t/logstash-conf-error/286088 "2021-10-07T03:41:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johnny\_Cash\_Cow](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johnny_cash_cow/32/78919_2.png) [@Johnny\_Cash\_Cow](https://discuss.elastic.co/u/Johnny_Cash_Cow)\
**Post date:** [October 7, 2021, 3:41am UTC](https://discuss.elastic.co/t/logstash-conf-error/286088/1 "2021-10-07T03:41:51Z")

</div>

Here is the error:

```auto
"LogStash::ConfigurationError", :message=>"Expected one of [\\t\\r\\n], \"#\", \"input\", \"filter\", \"output\" at line 6, column 1 (byte 132) after ",

```

and here is the logstash.conf file itself

```auto
input {
        file {
                path => ["~/Downloads/log20170629.csv"]
                start_position=> "beginning"
        }
}

filter {
        csv {
                separator=>","
                columns=>["ip","date","time","zone",”cik”,”accession”,”doc”,>
        }
}

output {
        elasticsearch {
                hosts => "localhost:9200"
                index => "sec_data"
        }
        stdout{
        }
}

```

---

<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:** [October 7, 2021, 3:54pm UTC](https://discuss.elastic.co/t/logstash-conf-error/286088/2 "2021-10-07T15:54:02Z")

</div>

You cannot use curly quotes, as you do around "cik" and other column names. Change them to straight quotes.

That said, the message suggests a problem earlier in the file that I cannot find.

---

<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:** [November 4, 2021, 3:54pm UTC](https://discuss.elastic.co/t/logstash-conf-error/286088/3 "2021-11-04T15:54:12Z")

</div>

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