Number of views a stored video gets

0

Hello We have a video file stored on AWS, is it possible to know how many views the video had? Thanks

已提問 2 年前檢視次數 475 次
1 個回答
1

Hello and thanks for using AWS re:Post.

If your video is stored in S3, you may enable data events for your S3 bucket to track object-level S3 actions. Once enabled, object-level API calls are logged as CloudTrail events. The primary object level API call you can index would be GetObject. While this action isn't equivalent to views, it does confirm the number of times the object (video) was requested. You can additionally track the time, source IP and User Agent attributed to the video request. When enabled, CloudTrail will place the logged events as JSON objects in your S3 bucket. The most efficient way to query the collected CloudTrail data is to use Amazon Athena to index and query the CloudTrail logs.

Additional References: Amazon S3 CloudTrail Events | Enable CloudTrail event logging fo S3 | Logging Data Events | Logging options for S3

profile pictureAWS
Adrian
已回答 2 年前
  • Thank you very much for the answer, Adrian. Could you give me a bit of guidance on how to do this or where to learn how to do it because I really didn't understand the technical instructions :-( Thanks Sam

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南