Difference between revisions of "FreeStorageSpace"

From wikieduonline
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  AWS_DEFAULT_REGION="$REGION" [[aws cloudwatch]] [[get-metric-statistics]] \
+
[[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 \
Line 16: Line 16:
  
 
== Related ==
 
== Related ==
* <code>aws rds describe-db-instances | egrep "DBInstanceIdentifier|[[AllocatedStorage]]"</code>
+
* <code>[[aws rds describe-db-instances]] | egrep "DBInstanceIdentifier|[[AllocatedStorage]]"</code>
 
+
* [[Snapshot]]
 +
* [[AWS RDS query logging]]
 +
* [[Amazon RDS DB storage]]
  
 
== See also ==
 
== See also ==
 
* {{aws cloudwatch}}
 
* {{aws cloudwatch}}
 +
* {{RDS}}
  
 
[[Category:RDS]]
 
[[Category:RDS]]

Latest revision as of 08:35, 28 July 2023

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[edit]

See also[edit]

Advertising: