Skip to content

Instantly share code, notes, and snippets.

@ceesco53
Created August 12, 2021 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ceesco53/fd1355c0f82b0b2744b4243343af80df to your computer and use it in GitHub Desktop.
Save ceesco53/fd1355c0f82b0b2744b4243343af80df to your computer and use it in GitHub Desktop.
GROK PATTERNS
# crashd log analysis
# I0802 01:01:28.711691 1 server.go:618] external host was not specified, using 10.252.43.236
(?<severity>.{1})%{MONTHNUM:month}%{MONTHDAY:day}%{SPACE}%{TIME:time}%{SPACE}%{NUMBER:number}%{SPACE}(?<filename>\b\w+\.?\w*):%{NUMBER:linenum}]%{SPACE}%{GREEDYDATA:message}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment