Skip to content

Instantly share code, notes, and snippets.

@danburke
Created November 12, 2013 14:05
Show Gist options
  • Save danburke/7431339 to your computer and use it in GitHub Desktop.
Save danburke/7431339 to your computer and use it in GitHub Desktop.
Parse URLs out of a .har using jq
jq -r -c '.log.entries[] | [ .request.url, .time, .response.bodySize + .response.headersSize, (.response.headers | map(select(.name=="X-Cache")) | @text) ] | @csv'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment