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

Sem respostas

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas