Logstash replace string and insert new line

hi guys,

need to replace all occurrences of | with newline in field , gsub does not accept \n or \r...any idea as it will replace it with actual \n
mutate { gsub => [ "message", "|", "\n" ]}`

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