Created
March 6, 2017 16:55
-
-
Save nguse/96624d47b5c7ca4921d3c2c1d36e42ff to your computer and use it in GitHub Desktop.
Varnishcsa grok pattern
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
^%{IPORHOST:clientip} - %{USER:auth} \[(?<timestamp>%{MONTHDAY}/%{MONTH}/%{YEAR}:%{TIME} %{TZ})\] \"(?:%{WORD:verb} %{NOTSPACE:request}(?: HTTP/%{NUMBER:httpversion})?|%{DATA:rawrequest})\" %{NUMBER:response} (?:%{NUMBER:bytes}|-) %{QS:referrer} %{QS:agent}$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.varnish-cache.org/docs/3.0/reference/varnishncsa.html