filebeat解析stack信息,其中包含换行符,在logstash使用json转换时候报错:
Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value
解决:过滤掉acsii字符
gsub{
"message","[\u0000-\u000A]",""
}
filebeat解析stack信息,其中包含换行符,在logstash使用json转换时候报错:
Illegal unquoted character ((CTRL-CHAR, code 10)): has to be escaped using backslash to be included in string value
解决:过滤掉acsii字符
gsub{
"message","[\u0000-\u000A]",""
}