29. VPC Flow Logsに対するクエリサンプル 29
SQL クエリ、関数、および演算⼦ - Amazon Athena
https://docs.aws.amazon.com/ja_jp/athena/latest/ug/functions-operators-reference-section.html
SELECT sourceaddress, COUNT(*) as count
FROM vpc_flow_logs
WHERE ts
BETWEEN concat(cast(current_date AS VARCHAR),'T','06:00:00.000Z')
AND concat(cast(current_date AS VARCHAR),'T','12:00:00.000Z')
GROUP BY sourceaddress
ORDER BY count DESC