Strange error with gsub


(Br14nb0) #1

I have my mutate config
mutate {
gsub => [
"service","\x7f\\",""]
}

I want to replace "DEL" string with NULL. But look likes it misunderstands with my escape.


(Magnus B├Ąck) #2

That escape sequence isn't supported.

https://www.elastic.co/guide/en/logstash/6.3/configuration-file-structure.html#_escape_sequences


(system) #3

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