Skip to content

Instantly share code, notes, and snippets.

@serkanh
Last active January 30, 2017 20:57
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 serkanh/c536509b3741f8de9260d353e48d1557 to your computer and use it in GitHub Desktop.
Save serkanh/c536509b3741f8de9260d353e48d1557 to your computer and use it in GitHub Desktop.
_sourceCategory=aws/elb/appwest | parse "* *:* *:* * * * * * * * \"* *://*:*/* HTTP" as datetime, clientIP, port, backend, backend_port, requestProc, ba_Response, cli_Response, ELB_StatusCode, be_StatusCode, rcvd, send, method, protocol, domain, server_port, path
| where !(be_statuscode matches "304")
-------------------------
_sourceCategory=aws/elb/appwest | parse "* *:* *:* * * * * * * * \"* *://*:*/* HTTP" as datetime, clientIP, port, backend, backend_port, requestProc, ba_Response, cli_Response, ELB_StatusCode, be_StatusCode, rcvd, send, method, protocol, domain, server_port, path
| where !(be_statuscode matches "304") AND !(be_statuscode matches "200")
| sort by path asc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment