Alerting

Set Alert Time Range to snap to yesterday at 21:00

x213217
Explorer

Hello I have an alert that runs on the Cron expression
00 2-19 * * 2-6
Starts at 2 am - runs Tuesday-Saturday and runs every hour until 19:00

My Question is for the Time range how can i set the search to always cover from the moment the search is running to 21:00 the previous day?

Tags (1)
0 Karma

dmarling
Builder

You can put this in your search or set the equivalient time on the alert under the advanced portion of the time range selector:

earliest=-1d@d+21h latest=now

If this comment/answer was helpful, please up vote it. Thank you.
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 ...