Created
August 16, 2021 22:38
-
-
Save Leonardo-Ferreira/b203dc3083c655c9f45b1060fd8cb766 to your computer and use it in GitHub Desktop.
Kusto Sample - Compare data from your current week-day to N-last-weeks
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
requests | |
| where timestamp > ago(90d) | |
| where dayofweek(timestamp) == dayofweek(now()) | |
| summarize count() by bin(todatetime(strcat("20210101 ", format_datetime(timestamp,"HH:mm:ss"))),5m),tostring(week_of_year(timestamp)) | |
| render timechart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment