Skip to content

Instantly share code, notes, and snippets.

@ldenson11
Created January 29, 2020 22:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ldenson11/453775394dd213150a3f42dec4357396 to your computer and use it in GitHub Desktop.
Save ldenson11/453775394dd213150a3f42dec4357396 to your computer and use it in GitHub Desktop.
-- show volume of transactions by location
-- for generating heatmap in Kibana for risk team
SELECT amount, lat, lon
FROM auths
WHERE eventTimestamp > CURRENT_TIMESTAMP-interval '12' hour;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment