Alerting

Help needed regarding cron expression

prateeksawhney
Explorer

Hi All,

I need your help in creating cron expression for alert schedule. I need to schedule a alert from Monday 02:00 - Saturday 00:30.

If any other information is required please let me know.

Any help will be highly appreciated. 

 

Thanks in advance.

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

How often during those times? Or only at those times?

This is not possible in a single cron expression; depending on the actual times you want to trigger the search, you may need to have up to 3 expressions e.g. to cover from Monday 02:00 to midnight; all day Tuesday through Friday; and, up to 00:30 on Saturday.

Alternatively, you can exclude those times in your search i.e. return zero results outside the desired timeframe.

Get Updates on the Splunk Community!

AppDynamics Summer Webinars

This summer, our mighty AppDynamics team is cooking up some delicious content on YouTube Live to satiate your ...

SOCin’ it to you at Splunk University

Splunk University is expanding its instructor-led learning portfolio with dedicated Security tracks at .conf25 ...

Credit Card Data Protection & PCI Compliance with Splunk Edge Processor

Organizations handling credit card transactions know that PCI DSS compliance is both critical and complex. The ...