Remove from json

Hi I am using logstash so when I am doing the multi-line thing I am getting \n \t \r like character in json is there away to remove these in Json message without compromising with the message layout . And even if it is how to remove that would be helpful. Thanks

You could use mutate

mutate { gsub => [ "message", "[\n\r\t]", "" ] }

Does it hinder the format of logs

That depends on the exact format of the logs.

Hey there I am using logstash to send logs to new relic for that is there a way to set logstash so that we can it can automatically process the logs in. Injecting logs to new relic