Christoph
Christoph

Reputation: 2063

AWS CloudWatch Logs custom metrics not showing up in GUI

I'm adding custom filter metrics to different logs on CW Logs. Some of them were added just fine and can be added to graphs and alarms. Some other just disappear after adding no matter how often I try to add them. I understand that there is a delay involved but even after hours I'm not able to use them.

Process seems straight forward as I'm following the guides from AWS. Is there anything I'm missing?

Upvotes: 6

Views: 8149

Answers (1)

Ian Smith
Ian Smith

Reputation: 1207

For others that may come across this, some times it can take a few days for the metrics to show up if they're far into the past:

Data points with time stamps from 24 hours ago or longer can take at least 48 hours to become available for GetMetricData or GetMetricStatistics from the time they are submitted. Data points with time stamps between 3 and 24 hours ago can take as much as 2 hours to become available for for GetMetricData or GetMetricStatistics.

https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricData.html

Upvotes: 6

Related Questions