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

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions