I'm trying to request database with logstash jdbc plugins and returns a csv output file with headers with logstash csv plugin.
I spent a lot of time on logstash documentation but I'm still missing a point.
With the following logstash configuration, the results give me a file with headers for each row. I couldn't find a way to add the headers for only the first row in the logstash configuration.
Helps very much appreciated.
_object$id;_object$name;_object$type;nb_surveys;csat_score
2;Jeff Karas;Agent;2;2 …Run Code Online (Sandbox Code Playgroud)