Loading...

Multiline Patterns

codec => multiline {
    pattern => "pattern, a regexp"
    negate => "true" or "false"
    what => "previous" or "next"
}
  • pattern => "^\s" Java stack traces, line starting with whitespace
  • pattern => "^%{TIMESTAMP_ISO8601} " starting with a timestamp
  • pattern => "\\$" line ending with a backslash