Autodetect column is taking data row as column name instead of header

Hello, I am running Logstash from command line with the config file below. I am not getting the first row header but the record (second row data after header) has appeared as column names. Please help. Thanks

input {
file {
path => "/home/data/file.csv"
start_position => "beginning"
sincedb_path => "/dev/null"
filter {
csv {
separator => ","
autodetect_column_names => "true"

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