Skip to content

Instantly share code, notes, and snippets.

@garlandkr
Created January 22, 2013 17:53
Show Gist options
  • Save garlandkr/4596644 to your computer and use it in GitHub Desktop.
Save garlandkr/4596644 to your computer and use it in GitHub Desktop.
varnish grok pattern
pattern => "%{IPORHOST:remoteip} - - \[%{HTTPDATE:timestamp}\] \"%{WORD:verb} %{NOTSPACE:request} HTTP/%{NUMBER:httpversion}\" (?:%{NUMBER:status}|\(null\)) (?:%{NUMBER:bytes}|-) \"(?:%{NOTSPACE:referrer}|-)\" %{QUOTEDSTRING:agent}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment