Hi,
I've came across this topic Csv output plugin prints wrong stuff - and it's closed for inactivity, but I've tested with the same (wrong) results on latest 5.2.2 logstash.
It's working fine on logstash 2.4.1 when using exactly same config files.
Whole config
input {
file {
path => "/home/logstash/testinput"
sincedb_path => "/dev/null"
start_position => "beginning"
}
}
filter {
grok {
match => { "message" => "%{GREEDYDATA:content}" }
}
}
output {
csv {
path => "/data/output/output.csv"
fields => [ "path","content" ]
}
file {
path => "/data/output/output.json"
codec => "json"
}
}
5.2.2 output
2017-03-02T13:23:20.324Z logservice02.cz.nonprod test2
2.4.1 output
/home/logstash/testinput,test2
Any ideas?