1 Answer
- Newest
- Most votes
- Most comments
1
This article has generic info applicable to VPC Flow Logs, especially about partiioning and querying - https://www.linkedin.com/pulse/using-athena-partition-projection-query-cloudtrail-other-kinsman/.
It's hard to be sure from the image you pasted, but it looks like you've both set LOCATION to a specific date "2023/03/01/" and partitioned by date? That doesn't look right.
What query did you try?
Relevant content
- Accepted Answerasked 2 years ago
- asked 6 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 9 months ago
I tired both "s3://.../2023/" and "s3://.../2023/03/01/". They return the same results. I just did it again and I'll add the screenshot in the original post.
I tried the "ALTER TABLE vpc_flow_logs ADD PARTITION (
date
='YYYY-MM-dd') LOCATION ..." query but the results were unreadable.I'm trying out the LinkedIn article right now.
Thanks!
Should have used s3://.../{location}/