Difference between revisions of "FreeStorageSpace"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* <code>[[aws rds describe-db-instances]] | egrep "DBInstanceIdentifier|[[AllocatedStorage]]"</code> | * <code>[[aws rds describe-db-instances]] | egrep "DBInstanceIdentifier|[[AllocatedStorage]]"</code> | ||
* [[Snapshot]] | * [[Snapshot]] | ||
+ | * [[AWS RDS query logging]] | ||
== See also == | == See also == |
Revision as of 11:18, 22 September 2022
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}"
aws cloudwatch get-metric-statistics \ --metric-name FreeStorageSpace \ --start-time 2022-07-01T23:00:00Z \ --end-time 2022-07-30T23:00:00Z \ --period 3600 \ --namespace AWS/RDS \ --statistics Average \ --dimensions Name=DBInstanceIdentifier,Value=${INSTANCE_NAME}
Related
aws rds describe-db-instances | egrep "DBInstanceIdentifier|AllocatedStorage"
- Snapshot
- AWS RDS query logging
See also
Advertising: