Uptime Monitor Alert Maintenance Window

I have an uptime monitor configured to look at a website. There is an automated task that restarts SQL for this application, which causes an HTTP 5xx code during restart. This causes the uptime monitor to report the site as down. I'd like to create a window in the monitor to not alert during this timeframe. I've tried the below filters on the monitor config, but it says it's going to match all monitors and not this specific one. How can I create a window for this monitor to not report down between 04:45 - 5:05 UTC?

Reg Ex timestamp
monitor.id : example.contoso.net AND NOT @timestamp >= /\d{4}-\d{2}-\d{2}T04:45.*/ AND NOT @timestamp <= /\d{4}-\d{2}-\d{2}T05:05.*/

KQL Wildcard timestamp
monitor.id : example.contoso.net AND NOT @timestamp >= *T04:45* AND NOT @timestamp <= *T05:05*

Unfortunately at this moment maintenance windows affect all rules. There is already a feature request to allow filtering as described here

Feel free to chime in there with more details or feedback as you see fit.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.