Using Athena & QuickSight for ALB-ELB Access Logs Analysis
Query ELB and ALB access logs in standard SQL with Amazon Athena, serverless, then build visuals in QuickSight. 250GB of sample logs in only 50 seconds.
February 18, 2018 · 4 min · 687 words · Victor Grenu
In this article, I will describe how to use Athena and QuickSight to do BI/DataViz on your current Load Balancer Access Logs on AWS: ELB and ALB.
From AWS: “Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run.”
In a few minutes, you will be able to query your access logs, even if you have a huge amount of logs, with this serverless service. I will show you how to use the AWS DataViz product called QuickSight to get some great visuals.
In my case, Athena ran over 250GB of sample logs in only 50s.
You will need to play with visuals and different graph types to meet your goals. It could take some time, but for example, you can get this kind of output:
I hope you enjoyed this quick howto. Don’t hesitate to ping me with any question.