【发布时间】:2020-09-25 13:01:59
【问题描述】:
我想为 Lambda 的错误日志添加 CloudWatch 自定义仪表板。我想要仅包含反映 Lambda 函数中的错误的日志的指标。我尝试在日志洞察中使用以下查询,但它不起作用:
fields @timestamp, @message
| sort @timestamp desc
| filter @message like ERROR
| limit 20
我也尝试创建过滤器,但它显示There are no metrics in this namespace for the region "Europe (London)"
【问题讨论】:
-
您是否为错误制定了任何自定义指标?
标签: amazon-web-services aws-lambda amazon-cloudwatch metrics