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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...