Splunk Enterprise Security

How to create an alert if index have no data in the last 24 hours?

mcohen13
Loves-to-Learn

I want to create alert to check on all indexes event count and alert the list of all indexes that have no events in the last 24 hours

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Search for the following and have the alert trigger if the number of events is not zero.

| tstats count where index=* by index | where count = 0
---
If this reply helps you, Karma would be appreciated.
0 Karma

evolart
Engager

I'm trying to build a similar alert and when I try below for any time frame up to 24 hours I end up with "No results found". I have 4 indices all showing no events received in over 4 hours when looking at Settings > Indexes.

| tstats count where index=* by index | where count = 0

 

Tags (3)
0 Karma

evolart
Engager
0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...