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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...