Last active
December 10, 2015 07:28
-
-
Save jamtur01/4401487 to your computer and use it in GitHub Desktop.
multiline weirdness
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# matches and merges events like: | |
# Dec 28, 2012 8:11:53 PM jenkins.InitReactorRunner$1 onAttained | |
multiline { | |
type => "tomcat" | |
pattern => "(^\w{3}\s\d{2}\,\s\d{4}\s[0-9|:]+\s\w{2}\s)" | |
what => "next" | |
} | |
# matches stack traces | |
multiline { | |
type => "tomcat" | |
pattern => "(^\d+\serror)|(^.+Exception: .+)|(^\s+at .+)|(^\s+... \d+ more)|(^\s*Caused by:.+)" | |
what => "previous" | |
exclude_tags => [ "multiline" ] | |
add_tag => [ "stacktrace" ] | |
add_field => [ "stacktrace", "true" ] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment