I'm looking into Azure Monitor queries for the first time, and can't understand why adding this line:
| where timestamp <= ago(1days)
makes the query results "de-aggregated."
Screenshots of the 2 separate queries/results:
I'm looking into Azure Monitor queries for the first time, and can't understand why adding this line:
| where timestamp <= ago(1days)
makes the query results "de-aggregated."
Screenshots of the 2 separate queries/results:
The operator you should be using is timestamp >= ago(1d), which should pick the rows which have timestamp for last 24Hrs.
Below is the sample
requests
| where timestamp >= ago(1d)
| summarize C = count() by itemType
Output from Explorer with timestamp with in the query
requests
| summarize C = count() by itemType
Output from Explorer with timestamp from Time Range
Documentation reference for using ago()
Hope this helps !