Alerting

Realtime alert on week days

chris
Motivator

I would like to set up a real time alert that triggers once per hour if no events occur for a search but not on week ends.
What is the best way to implement this?

Thanks
Chris

--- Update ---

Sorry I was not very clear on the actual requirement behind the question. I want to monitor an application that logs successful data transactions. Every 30 minutes a keepalive "transaction" is logged. It is ok if one keepalive event is somehow lost (not logged, not executed, ...). So Splunk should get at least one message per hour if not there is an SLA violation, if this happens on a business week day. I initially thought that the realtime search was a good idea because of the sliding window it looks at. -> This is not necessary/the wrong approach. I can have a historical alert that runs at a certain intervall and checks the time delta between the last received event and now() and alert if it is bigger than 3600s.

Tags (2)
0 Karma
1 Solution

dwaddle
SplunkTrust
SplunkTrust

Don't use a realtime alert 🙂

Based on what you've said so far, a standard alert running at the top of the hour on weekday hours (should be easy enough to define in scheduler) is more than adequate.

View solution in original post

dwaddle
SplunkTrust
SplunkTrust

Don't use a realtime alert 🙂

Based on what you've said so far, a standard alert running at the top of the hour on weekday hours (should be easy enough to define in scheduler) is more than adequate.

linu1988
Champion

once per hour or if there is an event in that hour you want to trigger? What is the actual requirement? It would be waste of resource if you keep running a realtime job but trigger a single alert!

Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...