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

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南