Forum Discussion
Pawel_Giza
Jan 10, 2022Copper Contributor
KQL - when no result from query put 0 instead of message "No results found from the specified time"
Hello, I have a query that checks how many logs appear in log analytics but when are no logs I need 0 value but there probably is null. I need two information numbers of logs and the name of the de...
Clive_Watson
Jan 11, 2022Bronze Contributor
Heartbeat
| where Computer contains "devicename"
| make-series count() default=0 on TimeGenerated from ago(12h) to now() step 1h by Computer
| where Computer contains "devicename"
| make-series count() default=0 on TimeGenerated from ago(12h) to now() step 1h by Computer