Alerting

Alert when No data received on index more than 24 hours

DanWilkinson
Engager

Good Morning, I am trying to create an alert to indicate that data has stopped flowing to a specific index and host after 24 hours, once created, the alert would continuously trigger. but only alerted after a new occurrence of data was received.

My current settings for my alert are as follows:

-------------------------------

Settings

Alert
Safelnk DOM East - No Data > 24 hours
Description
 
Search
 
| metadata type=hosts index="index Hidden" |
    where host="Hostname_Hidden" | eval age=abs((recentTime-now())) | where age
    >86400| table host recentTime age | convert ctime(recentTime)
 
Scheduled:
run everyday
At:
10:00
Expires:
999
hour(s)

Trigger Conditions

Trigger alert when
Number of Results
is Greater than: 0
 
Trigger:
Once For each result

Throttle:
 
Suppress results containing field value:
 
Suppress triggering for:
12
hour(s)

Trigger Actions:

When triggered:
Email is sent
-------------------------------
data that is sent when triggered:

host                                                  recentTime                                    age
"Hostname_Hidden"                11/08/2021                                  386
 
Labels (3)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

Take a look at the TrackMe app

https://splunkbase.splunk.com/app/4621/

It has some neat features for this type of alerting and the throttling/suppression may work in your case.

An alternative would be to store the alerted state in a lookup, which you then check as part of your search each time the alert runs which then will not alert again until the state shows no alert active. You could have a saved search that clears the state when data is seen.

 

0 Karma
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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...