AWS Official Blog

Amazon CloudFront Now Supports Streaming Access Logs

by Jeff Barr | on | in Amazon CloudFront | | Comments

You can now enable logging for an Amazon CloudFront Streaming distribution (see my recent post for more information about CloudFront Streaming). Once enabled for a particular distribution, CloudFront logs all accesses to a designated Amazon S3 bucket.The information in the log files will let you know which of your streaming media files are the most popular and will also let you see which CloudFront Edge Location was used to stream the information. This builds off of the HTTP access log support that I described in a previous blog post.

Each log entry contains the following information:

  • Date
  • Time
  • Edge Location
  • Client IP Address
  • Event (Connect, Play, Seek, Stop, Pause, Unpause, Disconnect, and so forth)
  • Byte Count
  • Status
  • Client Id
  • Request URI Stem
  • URI Query
  • Referrer
  • Page URL
  • User Agent

Additional information about the stream is logged for play, stop, pause, unpause, and seek events. Log entries are generated for both public and private streamed content.

The following applications and tools already have support for this new feature:

You can also use any application that understands log files in a W3C-compatible log format to manipulate or analyze the log files. Read the CloudFront documentation to learn more.

The Amazon CloudFront team is looking for some awesome software developers. If you have experience building highly available distributed systems, a passion for defining and growing a business, excellent communication skills, knowledge of networking protocols such as HTTP, DNS, TCP, BGP, and RTMP, and are proficient in C, C++, Java, or Perl, check out the open CloudFront positions today.

— Jeff;