Skip to content

Instantly share code, notes, and snippets.

@automine
Created January 14, 2015 17:54
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 automine/6f4be303e0500838596f to your computer and use it in GitHub Desktop.
Save automine/6f4be303e0500838596f to your computer and use it in GitHub Desktop.
EXTRACT-syslog_ng_message = \w{3}\s+\d+\s+\d+:\d+:\d+\s+(?<syslog_src>\S+)\s+(?<syslog_program>[^\s\[:]+)(?:[\d+])?(?:\s+|:)?(?<syslog_message>.*)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment