在lambda函数中,一次触发可能产生多个日志流,这时可以进入logs insights查询某次执行中的错误:

fields @message | filter @message like /Error/

在页面右上角选择查询的时间范围

在AWS CloudWatch中使用Logs Insights查询错误日志

参考文档:https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html

相关文章:

  • 2021-04-02
  • 2021-09-20
  • 2022-12-23
  • 2021-08-15
  • 2021-12-06
  • 2021-10-08
  • 2021-06-25
猜你喜欢
  • 2021-11-01
  • 2021-04-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-14
相关资源
相似解决方案