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.
Get Updates on the Splunk Community!

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 ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...