Splunk Search

Dashboard to check index filled or not.

vxroot
Loves-to-Learn

Hello guys, Splunk newbie here.

 

Hope someone can assist in my case, 

so index=*_whatever is expected to be filled with data in monthly basis, I want to create a dashboard that tracks whether which indexes are filled and which that are not so I can keep track and check which ones are empty and which ones are filled.

Thank you!!

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

There are lot of already done Apps for this issue. Here is some links for those

Slackbot  17:08
There are a lot of options for finding hosts or sources that stop submitting events:
Meta Woot! https://splunkbase.splunk.com/app/2949/
TrackMe https://splunkbase.splunk.com/app/4621/
Broken Hosts App for Splunk https://splunkbase.splunk.com/app/3247/
Alerts for Splunk Admins ("ForwarderLevel" alerts) https://splunkbase.splunk.com/app/3796/
Monitoring Console https://docs.splunk.com/Documentation/Splunk/latest/DMC/Configureforwardermonitoring
Deployment Server https://docs.splunk.com/Documentation/DepMon/latest/DeployDepMon/Troubleshootyourdeployment#Forwarde...Some helpful posts:
https://lantern.splunk.com/hc/en-us/articles/360048503294-Hosts-logging-data-in-a-certain-timeframe
https://www.duanewaddle.com/proving-a-negative/

r. Ismo

SinghK
Builder

|rest /services/data/indexes/|fields title maxTotalDataSizeMB currentDBSizeMB
|eval indexStatus = if(currentDBSizeMB>1, "Data", "Empty")

inventsekar
SplunkTrust
SplunkTrust

Hi @vxroot ... this can be done in multiple ways.. 

metadata command can be simple and less cpu/memory intensive command, than counting manually with your style of command. 

 

let us know your how your dashboard preparation steps, you can try to include both styles and try to see which one suits you. thanks. 

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

vxroot
Loves-to-Learn

I'm just looking to create a simple table that has two columns first column as Index_Name and second column that should have a checkmark or a cross where checkmark = index is filled and cross = index not filled. Can replace check mark and cross with Yes / No instead too, is that possible? 

 

0 Karma

SinghK
Builder

index=* |stats count by index should do the trick.

0 Karma

vxroot
Loves-to-Learn

Unfortunately that does not work, thanks though. 

0 Karma

SinghK
Builder

|rest /services/data/indexes/|table title maxTotalDataSizeMB currentDBSizeMB 

 

this will show all indexes and allocated size and used size. let me know if this works for you and if you need help modifying search.

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