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.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...