Replacing escape characters

Hello, I'm trying to replace escape characters. I have log lines where the source is escaping all '' and also '"', so it becomes '\' and '"' when it comes to logstash.
I've tried gsub => [ "message", "\"","""], gsub => [ 'message','"\"','"'] and can't get it to work, anyone has had any experience with this?

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