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 回答
0
已接受的回答

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
专家
已回答 1 年前
0

thank you so.. much :)

已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容