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!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...