Skip to content

Instantly share code, notes, and snippets.

@iversond
Last active April 4, 2016 20:21
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 iversond/133608d6e085573bf0e83776a9ae6dd4 to your computer and use it in GitHub Desktop.
Save iversond/133608d6e085573bf0e83776a9ae6dd4 to your computer and use it in GitHub Desktop.
Custom grok pattern for WebLogic's Extended HTTP Access Log. "c-ip cs-username date time cs-method cs-uri sc-status bytes s-ip cs(user-agent) time-taken"
WL_EXTENDED %{IPORHOST:clientip}\t%{USER:auth}\t%{WL_TIMESTAMP:timestamp}\t%{WORD:verb}\t%{NOTSPACE:request}\t%{NUMBER:response}\t%{NUMBER:bytes}\t%{WL_WEB_SERVER:webserver}\t%{QS:useragent}\t%{NUMBER:duration}
WL_TIMESTAMP %{YEAR}-%{MONTHNUM}-%{MONTHDAY}\t%{TIME}
WL_WEB_SERVER %{IPORHOST:server}\:%{NUMBER:port}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment