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

Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions