Analyze S3 Web Traffic

So we’ve got a great way to monitor the web services that we’re using, but we still need a way to see what the application itself is doing. In a traditional web app, we would normally front our application server with a dedicated web server, like Apache or Nginx. In addition to other tasks, this web server could provide access logs that we could use to monitor our traffic.

Of course, using the traditional approach, you also need a way to aggregate those logs from all of your web servers as you scale horizontally. Because we’re using Amazon S3 to host our app, we don’t have that problem. However, the logs that S3 produces are a little different than the kinds of logs created by a traditional web server, so we’re going to ...

Get Serverless Single Page Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.