Hi, I'm trying to find a complete example of how to configure this codec for input.
All the examples I have found only show basic usage
e.g.
input {
file {
path => "/mnt/data/file.csv"
mode => "read"
codec => "csv"
}
}
What if I want to set the options, like autodetect_column_names?
I've tried this
input {
file {
path => "/mnt/data/file.csv"
mode => "read"
codec {
csv {
autodetect_column_names => true
skip_empty_columns => true
}
}
}
}
Which just results in a logstash syntax error.
No full examples anywhere in the logstash documentation or in the repo..
How would I do this?
Hi, I'm trying to find a complete example of how to configure this codec for input.
All the examples I have found only show basic usage
e.g.
What if I want to set the options, like
autodetect_column_names?I've tried this
Which just results in a logstash syntax error.
No full examples anywhere in the logstash documentation or in the repo..
How would I do this?