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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠