Skip to content

Instantly share code, notes, and snippets.

@frodopwns
Created December 16, 2014 18:26
Show Gist options
  • Save frodopwns/9b65bd7c7610b9e82235 to your computer and use it in GitHub Desktop.
Save frodopwns/9b65bd7c7610b9e82235 to your computer and use it in GitHub Desktop.
Grok Pattern for Drupal Syslog Messages
%{SYSLOGBASE} %{URI:base_url}\|%{INT:unix_timestamp}\|%{DATA:category}\|%{IP:ip}\|%{URI:request_url}\|(?:%{URI:referrer}|)\|%{INT:uid}\|(?:%{URI:link}|)\|%{GREEDYDATA:errmsg}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment