Skip to content

Instantly share code, notes, and snippets.

@karaaie
Created August 22, 2014 07:35
Show Gist options
  • Save karaaie/718e4ede99a508bb1a48 to your computer and use it in GitHub Desktop.
Save karaaie/718e4ede99a508bb1a48 to your computer and use it in GitHub Desktop.
GROK pattern for NGINX parsing
NGINXACCESS %{IPORHOST:hostname} %{IP:remote_addr} - %{USERNAME:remote_user} \[%{HTTPDATE:timestamp}\] %{QS:request} %{INT:status} %{INT:bytes_sent} %{QS:http_referer} %{QS:http_user_agent}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment