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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...