My usecase APM-Agent -> APM-Server -> Logstash -> Logstash -> ES .
My Problem: Logstash -> Logstash is via TCP json_lines. Some APM-Messages getting json parsing errors without further explanaiton. Is it possible that my problem is the json_lines codec?
[2019-04-08T10:37:32,148][WARN ][logstash.codecs.jsonlines] lFilterChain\",\"function\": ...
I cant switch to anything else then tcp, and because tcp automaticaly switches to json_lines. Is there a known workaround for this?
When I change my delimiter to "\0", i get the same errors.
EDIT 2: It seems like its happening when i get Errors with stack traces. -> EDIT 3: its not only with stack traces!
EDIT 3: With udp as transport protocol its working as expected. No jsonparse errors. But I cant use UDP, i have to use TCP!