Hi,
how can I replace the double backslashes with only one?
input: domain\\user
expected output: domain\user
i have tried several methods without success. I could only remove it in this way, but it's not what's needed:
mutate {
gsub => ["message", "[\\]", ""]
}
sample line of input:
"message":"1,2019/01/25 23:59:59,0011C104451,TRAFFIC,end,2049,2019/01/25 23:59:59,10.20.30.40,10.20.255.23,0.0.0.0,0.0.0.0,Allow MXX-MYY,domain.net\user,,ldap,vsys4,GMPLS Internal,GMPLS External,ethernet1/12,ethernet1/15,Logging_Shared,2019/01/25 23:59:59,73227,1,54036,389,0,0,0x1b,tcp,allow,"
thank you