Skip to content

Instantly share code, notes, and snippets.

@DavidMikeSimon
Created June 9, 2014 13:00
Show Gist options
  • Select an option

  • Save DavidMikeSimon/fb7917ee307a82a4650a to your computer and use it in GitHub Desktop.

Select an option

Save DavidMikeSimon/fb7917ee307a82a4650a to your computer and use it in GitHub Desktop.
MESSAGE:
nginx: 10.0.0.228 - - [06/Jun/2014:18:26:18 -0400] "POST /es/logstash-2014.06.06/_search HTTP/1.1" 200 26486 "http://example.org/index.html"; "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/34.0.1847.116 Chrome/34.0.1847.116 Safari/537.36" REQID:"-"
GROK PATTERN:
nginx: %{COMMONAPACHELOG} %{QS:referrer}; %{QS:agent} REQID:%{QS:reqid}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment