Alerting

Is it possible to stop alert for particular time window?

cbiraris
Path Finder

Hi Team,

Is it possible to stop alert for particular time window.

Suppose I have a alert already created and running and I want to stop it on a coming Saturday from 1 PM to 4PM. is it possible whiteout doing it manual or not by using cron scheduler ? 

Please help. Thank you

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @cbiraris,

to have an alert active all the week but not Saturday from 1 to 4 PM, you have two solutions:

  • to schedule two alerts:
    • one for Saturday with cron * 1-12,17-23 * * 6
    • one for the other days with cron * * * * 0-5
  • insert in your search a condition that avoid results in that period, in other words, add to your main search:
    • <your_search> NOT (date_hour>12 date_hour<17)

Ciao.

Giuseppe

Get Updates on the Splunk Community!

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...