Alerting

How can we handle complex alert scheduling?

danielbb
Motivator

How do we handle an alert that needs to run on certain hours on Saturday and on different hours on Sunday. Can the cron expression express something like that?

We ended up placing the scheduling logic in the query itself.

Labels (1)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You would need two alerts, one with a cron expression for Saturday hours and another for Sunday hours.

isoutamo
SplunkTrust
SplunkTrust

As @ITWhisperer already said, the common way to do it is add as many “alerts” as needed with own schedules. Query should be the same, but probably it’s easier to add earliest+ latest to it than trust those which are on alert definition.

r. Ismo

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, ...