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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...