Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SELECT sum(packets) AS total,
split_part(sourceaddress,’.’, 1) =10AS isInternal,
action
FROM flows
GROUP BY 2, action
ORDER BY total DESC LIMIT 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.