All Apps and Add-ons

Why is the Scheduled Alert returning results from previous run's report.

sriharshajc
New Member

I am new to splunk, I have setup a hourly alert in Splunk ML toolkit. Alert runs from 8am and the trigger condition matches and an email is triggered(expected behaviour). But when it again runs at 9am (and later) it is reading the result from previously executed results.
Search query at 9 am looks like this,
| loadjob scheduler__xxxxxxxx | head 1 | tail 1

Alert config:
Cron expression : 00 8-22 * * 1-5
Trigger conditions: Number of Results greater than 0.
And Trigger Once
(Throttle not selected)

Can someone suggest why the old result is considered instead of running the base query again.

0 Karma

w044f
New Member

i have the same problem. What is teh solution to alert sending mail is there are no result.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

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