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*
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.