Created
July 28, 2017 07:35
-
-
Save Mikulas/d83361ba0f381451d29910887d3df85c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT dstaddr, sum(bytes) | |
FROM vpc | |
WHERE srcaddr << '172.31.0.0/16' | |
AND external=1 | |
GROUP BY dstaddr | |
ORDER BY 2 desc; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment