Alerting

How do I set up a Cron alert in Splunk?

Tannawi_Chauha1
Engager

I have a scheduled alert which get trigger every hour, but i don't want alert to get trigger at 2AM.
Please give me some suggetion.

Thank you in advance

Tags (1)
0 Karma

somesoni2
Revered Legend

Try this cron, (running for hour 0 to 1, skip 2 and then from hour 3 to 23).

0 0-1,3-23 * * * 
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Use a cron schedule instead of a basic schedule for the alert. For example, this runs the alert at the top of each hour from 0700-2300.

0 7-23 * * *
---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...