Difference between revisions of "Aws cloudwatch get-metric-statistics"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
[[RDS]] | [[RDS]] | ||
AWS_DEFAULT_REGION="$REGION" [[aws cloudwatch]] get-metric-statistics \ | AWS_DEFAULT_REGION="$REGION" [[aws cloudwatch]] get-metric-statistics \ | ||
− | --namespace AWS/[[RDS]] --metric-name FreeStorageSpace \ | + | --namespace AWS/[[RDS]] --metric-name [[FreeStorageSpace]] \ |
--start-time $START --end-time $END --period 300 \ | --start-time $START --end-time $END --period 300 \ | ||
--statistics Average \ | --statistics Average \ |
Revision as of 22:23, 1 August 2022
AWS_DEFAULT_REGION="$REGION" aws cloudwatch get-metric-statistics \ --namespace AWS/RDS --metric-name FreeStorageSpace \ --start-time $START --end-time $END --period 300 \ --statistics Average \ --dimensions "Name=YOUR_DBInstanceIdentifier, Value=${INSTANCE_NAME}"
Related
See also
Advertising: