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

Labels (5)
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!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...