CSV filter how to replace new line with ","


(scch) #1

Hi Magnus,
I am parsing csv file which contain new line in a field. i want to replace it with ",". Tried below code. so far no success, please advice

mutate {gsub => ["Standard", "[\n]", ""]}

below image shows how data looks like.

image

i want parsed data to look like below, is it possible ? if yes, what's the character for newline feedwhich Logstash recognize ...because i am able to replace other characters with above code.

Hacking, Technology-Internet

Thanks..


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.