Hi,
I am trying to do a find and replace using mutate to replace | (vertical bar) with Unicode u0001 (start of header) anywhere in the source message before being further parsed.
I have tried various combinations of forward slashes and back slashes but cannot get it to replace with the string "\u0001"
The code below replaces with double backslashes "\u0001"
mutate {
gsub => ["message", "\|", "\u0001"]
}