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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...