Skip to content

Instantly share code, notes, and snippets.

@JohannesRudolph
Created June 30, 2022 09:33
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 JohannesRudolph/34ffd36b4a3c8a87e173cfc941eb2297 to your computer and use it in GitHub Desktop.
Save JohannesRudolph/34ffd36b4a3c8a87e173cfc941eb2297 to your computer and use it in GitHub Desktop.
collie cli cheatsheet - a list of useful tricks around collie
# query costs and output a filtered tsv, inspiration https://stackoverflow.com/a/39144364/125407
collie tenant cost --from 2022-05-01 --to 2022-05-31 meshcloud-dev --platform azure.meshcloud-azure-dev -o json \
| jq -r ".[] | [.relatedTenant.platformTenantId, .relatedTenant.platformTenantName, .totalUsageCost] | @tsv"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment