Skip to content

Instantly share code, notes, and snippets.

@pattonwebz
Forked from geraldvillorente/grok-pattern.md
Created December 28, 2020 14:56
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 pattonwebz/b45a6c94ced467fd5e117b9711a7b13a to your computer and use it in GitHub Desktop.
Save pattonwebz/b45a6c94ced467fd5e117b9711a7b13a to your computer and use it in GitHub Desktop.
Pantheon nginx-access.log Grok pattern
%{IPORHOST:remoteaddress} - - \[%{HTTPDATE:timelocal}\]  "%{WORD:httpmethod} %{URIPATHPARAM:request} HTTP/%{NUMBER:httpversion}" %{NUMBER:response} (?:%{NUMBER:bytes}|-) (?:"(?:%{URI:referrer}|-)"|%{QS:referrer}) %{QS:useragent} %{BASE10NUM:request_duration} %{QS:xforwardedfor}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment