Why can't I see CWAgent metrics on my CloudWatch dashboard?

January 15, 2026 3 answers
Asked by TechyNinja42
I recently set up a Windows server and installed the CloudWatch agent. While I can view the logs I wanted on the CloudWatch dashboard, I don't see the CWAgent namespace in the metrics section. My IAM role has full permissions for SSM and CloudWatch. Could anyone help me figure out why the metrics aren't showing up?

Answers

DevOpsWizard34
Make sure you have a VPC endpoint set up, or that your instance allows egress to CloudWatch. Sometimes, the lack of a specific endpoint can cause metrics not to display properly, even if logs are accessible.

TechyNinja42: Do I still need to create one if my EC2 instance is in the default VPC?

Reply to this answer
FixItFelix91
Good news! It looks like the issue is resolved. I realized I had mixed up some permissions. Thanks to everyone for their input, and hopefully, this helps anyone who runs into a similar problem!
Reply to this answer
CloudGuru99
Have you checked the local logs maintained by the CloudWatch Agent? They can provide clues for troubleshooting this kind of issue. Here's a helpful link for reference: [Troubleshooting CloudWatch Agent](https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/troubleshooting-CloudWatch-Agent.html).

TechyNinja42: Yeah, I checked them, and everything seems fine.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions