Alerting

Alert to run specific time every weekday for specific time duration

AKG11
Path Finder

Hi,

I am looking to setup an alert which support to be run every weekday at 7:30PM. Search window for alert query should be from 7PM previous day to 7PM current day.
How can I setup this alert.

Thanks


Labels (2)
0 Karma

P_vandereerden
Splunk Employee
Splunk Employee

Retracted. @richgalloway 's solution will work.

Paul van der Eerden,
Breaking software for over 20 years.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

To run the alert at 7:30pm, use a cron schedule of 30 19 * * *.

To set the search window, use earliest=-1d@d+19h latest=@d+19h

---
If this reply helps you, Karma would be appreciated.
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...