I have this simple query
MyLog
| summarize avg(executionTimeInMS_d) by bin(TimeGenerated, 5min)
I'd like the summary to be in my local time zone, not UTC. This does not work :
MyLog
| summarize avg(executionTimeInMS_d) by bin(TimeGenerated-5, 5min)
Can this be done?
datetimevalues are in UTC.if you know the timezone offset (at the time you run the query), you can subtract/add it to your
datetimevalues as explained here: https://learn.microsoft.com/en-us/azure/kusto/query/datetime-timespan-arithmeticfor example:
print now() - 7h