Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

The graphs are nice but how can I download stats to analyze AWS performance?

Is there an API call that I can make?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Yes. I believe you're talking about CloudWatch and so, taking a look at the CloudWatch API, there's the GetMetricStatistics API call:

http://docs.amazonwebservices.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html

Some examples on how to use it with, say PHP, are available as well:

http://docs.amazonwebservices.com/AWSSDKforPHP/latest/#m=AmazonCloudWatch/get_metric_statistics

You'll most likely want to take a look at ListMetrics first so you can see all the bits available to you.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.