Forum Discussion
DennesTorres
Power Participant
2 years agoKQL Query not accepted by alerts
Hi, I have the KQL query below. This query is not being accepted for alert creation. pusummary
| where Window_End_Time > ago(20m)
| where TotalRides >5
| where PULocationID in (pusummary
...
lbendlin
Super User
2 years agoYou are already filtering your IDs. No need to filter them again
pusummary
| where PULocationID in (pusummary
| where Window_End_Time > ago(20m)
| where TotalRides >5
| summarize TotalRides=sum(toint(TotalRides)) by PULocationID
|top 5 by TotalRides)
| summarize TotalRides=sum(toint(TotalRides)) by Window_End_Time=bin(Window_End_Time,2m), PULocationID- DennesTorres2 years ago
Power Participant
Hi,
I can remove the
| where TotalRides >5
But I can't remove the filter by window_end_Time, otherwise it show to me the values for the top 5 Ids for all the time available.
Anyway, none of these options enabled the "Set Alert".Kind Regards,
Dennes