Logstash.conf error

Here is the error:

"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

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

filter {
        csv {

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

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.

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