How to get logstash to parse multi-line fields into multiple lines

Hi, we have messages input into logstash from filebeat where some fields are multi-line (e.g., like a stack trace message field). By default, after grok-parsing a field that was multi-line in the original log file , the parsed output of the field is one wrapped-around line. Is there a way to preserve the original multi-line state in the parsed output? If so, how can it be accomplished?

thanks for any response.

If you want to split a multi-line message into multiple events then you can use

split {}

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.