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 Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...

SplunkTrust | Where Are They Now - Michael Uschmann

The Background Five years ago, Splunk published several videos showcasing members of the SplunkTrust to share ...