I have following type of entries in csv file:
16 , 5 , 53 , Logging/LoggingError , 2, error while opening file "a,b,c,d": , 10.10.4.219 , serviceA
I am trying to parse it using csv pluging as follows:
csv {
columns => ["time","split",event","event_name","level","error_msg","ip","service"]
separator => ","
}
Now problem is i have used ","(comma) as separator but in my error_msg column there are some "," present so logstash is parsing the values thinking as separator. In actual log file there are different error_msg with different number of ","(commas).
So please help me how i can solve this problem!!
Thanks in advance