best apprach to monitor and loging the cloudfront on cloudwatch

0

Hi All,

I am very new to AWS DevOps. I am trying to find the best approach to logging and monitoring the CloudFront activity on Cloudwatch. I have tried the below

  1. enabled the Cloudfront logs to s3, then analyze the data with Athena
  2. enable real-time logging to Cloudwatch from the CloudFront console.

but I am stuck

  • in 1st I am not aware of how to enable visual monitoring of this
  • in the 2nd approach. that data is logged but does not provide sufficient data.

please help

2 Respostas
0
Resposta aceita

Hi,

there are 2 main ways:

  • for access logs in realtime (seconds), you should setup an integration with Cloudfront ->Amazon Kinesis Data Streams -> Amazon Kinesis Firehose, which then can be moved to S3, OpenSearch, etc.
  • for access logs needed in minutes, you could just send logs directly to S3.

For more you can see here: https://repost.aws/knowledge-center/cloudfront-logging-requests

Hope it helps ;)

profile picture
ESPECIALISTA
respondido há um ano
0

thank you so.. much :)

respondido há um ano

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