cloudwatchRDSCPUtoCSV dump rds instance cpu usage metrics to csv Customise the variables: LatestTime (Must be in ISO format) dbInstanceIdentifier (Get this from the RDS console) daysToRetrieve It'll generate a csv wherever it's run called output.csv