Home > OS >  Can I log user events or actions in CloudFront?
Can I log user events or actions in CloudFront?

Time:08-13

Can I log user events or actions in CloudFront in AWS? I need the same functionality like in Google Analytics?

CodePudding user response:

You can enable Cloudfront logs to S3 and use Athena to query Link to guide

How to create table in Athena from Cloudfront logs

You can track number of user accessing specific path or query, but it can only track requests, not some "click in page and do some action without requests" event . It's also can't track specific users or send furtherer information, which you are able to send to Google Analytic using JS.

It also cost a bit for S3 and Athena if you are doing it too much.

  • Related