Hi guys,
I think logstash quote escaping has a bug.
I do this
mutate {
add_field => { "foo" => 'string with " and ' chars' }
add_field => { "bar" => "string with " and ' chars" }
}
I output the result to file with json_lines
codec. I expect this:
"foo":"string with " and ' chars","bar":"string with " and ' chars"
But, the actual output is this
"foo":"string with " and \' chars","bar":"string with \" and ' chars"