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!

Splunk APM & RUM | Upcoming Planned Maintenance

There will be planned maintenance of Splunk APM’s and Splunk RUM’s streaming infrastructure in the coming ...

Part 2: Diving Deeper With AIOps

Getting the Most Out of Event Correlation and Alert Storm Detection in Splunk IT Service Intelligence   Watch ...

User Groups | Upcoming Events!

If by chance you weren't already aware, the Splunk Community is host to numerous User Groups, organized ...