Hello,
I've following message send by filebeat:
"message" => "{"country-code":"GB","payload":"{\"access_token\":\"**********\",\"token_type\":\"Bearer\",}","status":"ok","status-code":200,"error":"","content-type":"application/x-www-form-urlencoded","inbound-request-uri":"","outbound-url":"","message-size":106,"msisdn":"","env-name":"staging","headers":{"Connection":"keep-alive","Content-Type":"application/json"},"service-flow":"PreFlow","verb":"POST"}\u0000"
For some reason filebeat put this \u0000 at the end of the message - why i think it's filebeat - because for now we're using rsyslog and this is not there . I'm trying to switch to filebeat.
So this (\u0000) breaking next filter
json {
source message
}
Can someone advice how to remove this garbage ?
Thanks in advance.