Having a backslash at the end of a string requires a trick. Use a character group that just includes backslash...
mutate { gsub => [ "[user][name]", "\w+[\\]{2}", "" ] }
Having a backslash at the end of a string requires a trick. Use a character group that just includes backslash...
mutate { gsub => [ "[user][name]", "\w+[\\]{2}", "" ] }
© 2020. All Rights Reserved - Elasticsearch
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.