Skip to content

Instantly share code, notes, and snippets.

@bassam
Created June 6, 2017 17:07
Show Gist options
  • Save bassam/5806d5277609913a9d889ab47d3de570 to your computer and use it in GitHub Desktop.
Save bassam/5806d5277609913a9d889ab47d3de570 to your computer and use it in GitHub Desktop.
curl -s -G -H 'Authorization: Bearer XXX' "https://quay.io/api/v1/organization/rook/aggregatelogs" --data "starttime=6/1/2017" | jq '.aggregated[].count' | awk '{s+=$1} END {print s}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment