Sending Cloudfront realtime logs to aws msk

0

Hi, I am creating a video-on-demand streaming data pipeline, where I am using an event-based tracking system to track how much the user has watched the video. In order to verify this data, we will need to track the user's CloudFront access logs, and we would want to add the real-time logs to AWS-MSK (Kafka), how to send the real-time logs of CloudFront to AWS-MSK (Kafka) ?

2 Answers
0

Hi.

I understand that you want to process CloudFront real-time logs with MSK.

Kinesis is the only destination for CloudFront real-time logs.
As far as I can see, there is no managed mechanism to connect from Kinesis to MSK.

Therefore, I think you need to create a program that connects CloudFront real-time logs to Kinesis, creates your own consumer from there, and sends it to MSK, referring to the following.

Please refer to the following.
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html

profile picture
EXPERT
iwasa
answered a year ago
profile picture
EXPERT
reviewed 23 days ago
0

If it is a must to use MSK to gather logs from a Cloudfront distribution, then You could:

profile picture
EXPERT
answered a year ago
profile picture
EXPERT
reviewed 23 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions