Unknown setting 'autodetect_column_names' for csv

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.

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.

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