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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ