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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...