CloudWatch Insights not parsing JSON from CloudFront function logs

0

If you print JSON from CloudFront functions using console.log, CloudWatch Logs Insights doesn't parse it as JSON. CloudWatch Logs does parse the JSON fine and logs emitted with the Embedded Metrics Format from CloudFront functions do publish metrics. Can the CloudWatch Logs Insights parser be modified to work with the CloudFront functions log format and request ids?

This is Cloudwatch Logs Insights not parsing:

This is Cloudwatch Logs Insights not parsing

This is Cloudwatch Logs parsing:

This is Cloudwatch Logs parsing

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则