I have a json document which is failing json parse because some of the fields contain quotes, messing up the json. My solution is to remove all of the quotes, and then add them back in myself around relevant fields. However,
mutate => { gsub => [ "", """, "" ]
gsub => ["", "my_field", ""my_field"" ]
}
First removes all quotes, and then inserts literally " , i.e. the backslash used for escaping, AND the quote,
How can I insert a double-quote character without also inserting the slash?? (Ps. please don't tell me to add more backslashes, I've tried it lol)