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!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...