Skip to content

Instantly share code, notes, and snippets.

@hhcordero
Created February 14, 2022 12:39
Show Gist options
  • Save hhcordero/70539b6e0b7eb4ecdf73b9ea266cd51c to your computer and use it in GitHub Desktop.
Save hhcordero/70539b6e0b7eb4ecdf73b9ea266cd51c to your computer and use it in GitHub Desktop.
aws logs describe-log-groups | \
jq -r '"log_group\tstored_bytes",
"---------\t------------",
( .logGroups[] | "\(.logGroupName)\t\(.storedBytes)" )' |\
column -t -s $'\t'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment