Splunk Search

How to search Indexes with count = 0

jto13
Explorer

Dear Team,

I just want to use the simple search below to see which indexes are having zero count that day/week/whichever time period.

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

However, the search is not returning anything and if I remove the where count=0 it is only returning indexes with more than zero counts. How do I make sure that the indexes with count=0 are included?

Thank you.

Warm Regards.

 

Labels (2)
Tags (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
index=*
| timechart span=1d count by index
| untable _time index count
| where count = 0
0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

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

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...