March 23, 2021
Query WAF logs with Athena
I’ve been using AWS WAF a bit recently and I needed a way to query the logs that are shipped to S3.
Athena is the logical solution to this. There is great documentation to get you started with querying WAF logs via Athena and also how to setup WAF logging.
My specific requirement required me to start off with the WAF in COUNT mode. While WAF has an excellent facility to to see samples, they only last for 3 hours so I needed the ability to get the logs.
Read more