Home > Enterprise >  AWS Cloudwatch insight shows no data
AWS Cloudwatch insight shows no data

Time:06-03

i want to build a Logging Dashboard to monitor a application in AWS EC2. So i configure the cloudwatch stuff and everything looks like a charm. But when i go to the cloudwatch logs insights and create a query for the logs, I'm getting 'no data found' for every querry/time range im using. I can see there are some logs in the stream when i click on it (in the logs panel) but it cannot discover from insights.

What I'm doing wrong?

This is in the group logs window

This is the querry with no data

Maybe someone could help me, thanks a lot

CodePudding user response:

Try changing the query to:

fields @logStream, @message | limit 20

And expand the time frame to, say, 4 weeks, making sure there are log streams within that time frame that contain log events.

For example:

enter image description here

  • Related