AWS CloudWatch Insight显示没有数据
我想构建一个记录仪表板,以监视AWS EC2中的应用程序。因此,我配置了CloudWatch的内容,一切看起来都像魅力。但是,当我转到CloudWatch Logs Insights并为日志创建查询时,我会在我使用的每个查询/时间范围内获取“找不到数据”。
当我单击它时,我可以看到流中有一些日志(在日志面板中),但无法从洞察力中发现。
我在做什么错?
也许有人可以帮助我,非常感谢
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 query/time range I'm 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?
Maybe someone could help me, thanks a lot
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试将查询更改为:
并将时间范围扩展为4周,确保在该时间范围内包含日志事件的日志流。
例如:
Try changing the query to:
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: