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!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...