Splunk Search

How to trigger alert when the index from Down to Running State?

karthi2809
Builder

How to trigger alert when the index from Down to Running State?
My query is to find index is down.But it will trigger only once.I need to continuously when the index is to running state .

| metadata type=hosts index*_prod | eval age = now() - recentTime | eval status= case(age < 900,"Running",age > 900,"DOWN") | convert ctime(recentTime) AS LastActiveOn
| eval age=tostring(age,"duration") | eval host = upper(host)
| table host age LastActiveOn status
| rename host as "Forwarder Name", age as "Last Heartbeat(min)",LastActiveOn as "Last Active On",status as Status|where Status= "DOWN"

Tags (5)
0 Karma

pkeenan87
Communicator

Have you looked at the meta woot app? https://splunkbase.splunk.com/app/2949/ This is very helpful in auditing when data sources/indexes are down. There are some panels you could use as a template to convert into an alert

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...