Last active
November 16, 2015 01:02
-
-
Save undeadcat/711ae32c7d42b67cc372 to your computer and use it in GitHub Desktop.
nginx 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
%{TIMESTAMP_ISO8601:log_timestamp}\t%{NOTSPACE:msec}\t%{NOTSPACE:host}\t%{WORD:request_method}\t%{NOTSPACE:path}\t%{NOTSPACE:querystring}\t%{NOTSPACE:referer}\t%{IPORHOST:remote_addr}\t(?<user_agent>[^\t]*?)\t%{NOTSPACE:cookie_sid}\t%{NUMBER:status_code}\t%{NUMBER:request_time:float}\t%{NUMBER:request_length:int}\t%{NOTSPACE:asp_net_sessionid}\t%{NOTSPACE:cookie_token}\t%{NOTSPACE:upstream_address}\t%{NUMBER:bytes_sent:int}\t%{NOTSPACE:upstream_response_time:float} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment