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 Antworten
0
Akzeptierte Antwort

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
EXPERTE
beantwortet vor einem Jahr
0

thank you so.. much :)

beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen