I got this error when I add skip_header property in csv filter
filter {
csv {
columns => [
"Date",
"Product Categories",
"Geo",
"Revenue"
]
separator => ","
remove_field => ["message"]
skip_header => "true"
}
}
[2019-07-31T17:05:07,457][ERROR][logstash.filters.csv ] Unknown setting 'skip_header' for csv
Any help appreciated
Badger
July 31, 2019, 12:33pm
2
Which version of the filter do you have? Adding skip_header was the most recent change in the filter.
/usr/share/logstash/bin/logstash-plugin list --verbose logstash-filter-csv
logstash-filter-csv (3.0.10)
If you have anything older than 3.0.10 you would need to upgrade.
Thanks @Badger
Yeah, I need to upgrade then. I use logstash-filter-csv (3.0.5)
system
(system)
Closed
August 29, 2019, 1:24am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.