Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- aws --region eu-west-1 --profile production cloudwatch get-metric-statistics --namespace AWS/S3 --metric-name BucketSizeBytes --dimensions Name=BucketName,Value=jm-govuk-assets-production Name=StorageType,Value=StandardStorage --start-time 2017-11-01T00:00 --end-time 2017-11-18T00:00 --period 3600 --statistic Maximum | jq -r '.Datapoints[] | [.Timestamp, .Maximum] | @csv' | sort
- "2017-11-07T00:00:00Z",1365
- "2017-11-08T00:00:00Z",734821
- "2017-11-09T00:00:00Z",64893805
- "2017-11-10T00:00:00Z",64893805
- "2017-11-11T00:00:00Z",64893805
- "2017-11-12T00:00:00Z",64893805
- "2017-11-13T00:00:00Z",64893805
- "2017-11-14T00:00:00Z",64893805
- "2017-11-15T00:00:00Z",64893805
- "2017-11-16T00:00:00Z",64893805
Add Comment
Please, Sign In to add comment