Alerting

How to create an alert where the saved search runs every 15 mins in a day, but should not run between 18:30 and 20:30?

sheshabhargava
New Member

Hi All,

I want to create an alert where the saved search has to run every 15 mins in a day, but should not run between 18.30 to 20.30. Can anyone help me with the cron schedule for this? Thank You for your help!

0 Karma

woodcock
Esteemed Legend

Just schedule it to run every 15 minutes but make sure that it returns 0 results for the forbidden time period like this (you may need to add some equal-signs to the "<" and ">"):

... | where (date_hour<18 AND date_hour>20) OR (date_hour=18 AND date_minute<30) OR (date_hour=20 AND date_minute>30)
0 Karma
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 ...