I have an issue where I am trying to log Java traces for a TCP input. However, it appears that Logstash truncates the trace to just the first line of the trace. I have attempted to use the multiline codec for this input, and although it does success in concatenating the lines of a trace into a single message, I encounter other issues due to the multiline codec not fully supporting data stream inputs (correct me if I'm wrong).
Because of this, I am looking for alternatives (or simple fixes) for the multiline codec. Perhaps there is a way to use the mutate filter plugin or something? Please advise!