The way the logstash configuration parser works makes a backslash at the end of a string a problem. If you wanted to remove a backslash from a field there is a trick to do that -- use a character group that contains a single backslash
mutate { gsub => [ "someField", "[\\]$", "" ] }
but you cannot use character groups in a replacement string, so that would not work here. I have not tested it, but it might work if you use a ruby filter, where the parser is looking for a string in single quotes
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.