Hi all,
I am using the csv output for my logstash, but I want to have each field wrapped in quotes. So now I have the output as:
filed1Value,field2Value,field3Value
but I want the output to be:
"filed1Value","field2Value","field3Value"
My code in the conf file is:
output {
csv {
path => "/usr/share/logstash/${HOSTNAME}-%{+yyyy-MM-dd.HH-mm-ss}.log"
fields => ["Field1", "Field2", "Field3"]
}
}
Can this be achieved?