Reporting

Suppression of custom splunk alert during specific time on daily basis

prateeksawhney
Explorer

Hi All,

I have created a custom alert in splunk and I want to put a suppression window in that alert on daily basis from 12am UTC -7am UTC. How can this be achieved? from cron expression or adding something to the original query?

Please help!!!

Labels (1)
0 Karma

thambisetty
SplunkTrust
SplunkTrust

you need to schedule same search multiple times with different cron jobs

*/15 8-23 * * *

The above schedules job except below schedules

00:00,00:15........................,07:00,[07:15,07:30,07:45]

you need only three schedules from above the ones enclosed in []

another cron to schedule job to run  at  07:15,07:30,07:45. 

so you will need total 2 different cron schedules  as below

*/15 8-23 * * * 

15,30,45 7 * * *

 

————————————
If this helps, give a like below.

thambisetty
SplunkTrust
SplunkTrust

what is the frequency of schedule and should 12 AM UTC - 7 AM UTC be excluded from schedule?

————————————
If this helps, give a like below.

prateeksawhney
Explorer

yes correct, frequency is 15 mins, monday to friday.

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...