Last active
August 22, 2023 16:43
-
-
Save AMMullan/e738d3d2669357537afddebf2fbe4f2e to your computer and use it in GitHub Desktop.
CloudWatch Logs Insights Queries
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
# Get number of emails sent by each IAM User broken down in hourly segments | |
stats count(*) by IAMUser, bin(1h) as period | |
| filter EventType in ["Delivery"] | |
| sort IAMUser desc, period desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment