Skip to content
Advertisement

count(distinct request_ip) GROUP by date

I have the following SQL, which I am using against AWS ELB logs stored in S3 with AWS Athena.

when i run the query, i get

how do i count the total IPs and group these by date for a specific IP?

any advise is much appreciated

Advertisement

Answer

Try this script.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement