Microsoft Entra Suite Tech Accelerator
Aug 14 2024, 07:00 AM - 09:30 AM (PDT)
Microsoft Tech Community

Incident query based on time of the day

Brass Contributor

I have few ideas to implement for a incidents query that would only trigger when action is done out of office hours. We don't expect certain things happen outside office hours and we would like to know if it does.


I have tried using | where operator  combined with a variable mentioning "18:" and "08:" but this wouldn't work. I have tried looking at what kind of "time" fields are out there that I can use but the KQL is quite different to what I been using with other SIEM's




looking to setup an alert only to trigger between 18:00 and 08:00 (out of office hours)


any ideas?


2 Replies



This was exactly what I was looking for, thank you :smile: