Monitoring Splunk

how to get the total each indexer volume size utilization in the indexer cluster of 10

venugoski
Explorer

how to get the total each indexer volume size utilization in the indexer cluster of 10.
i have the cluster manager with 10 indexers and like to know is there a way to query from the CM or the dashboard view the volume utilization of each indexer.
we don't have the distribution monitoring console setup yet.
we have 1 SH cluster with 5 SH
1CM
10 indexers
1 deployer to manage SH cluster

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

you could found suitable SPL from MC's indexing -> Indexes and Volumes: Deployment dashboard.

Here it is without MC groups. This should work without MC configuration.

| rest  services/data/index-volumes splunk_server=<YOUR INDEXERS HERE with wildcard>
| eval _dmc_volume = if(isnotnull(title), title, 'data.name') 
| where NOT _dmc_volume == "_splunk_summaries" 
| fields - _dmc_volume 
| eval volumeSizeGB = if(total_size > 1, round(total_size / 1024, 2), null()) 
| eval sizeUsagePerc = total_size / max_size * 100 
| stats dc(splunk_server) as Instances count(eval(total_size > 1)) as "Non-Empty Instances" sum(volumeSizeGB) as totalSize avg(volumeSizeGB) as avgSize avg(sizeUsagePerc) as avgSizePerc perc90(sizeUsagePerc) as ninetyPercentileSizePerc count(eval(total_size > max_size)) as volumesFreezingDueToSize by title 
| eval totalSize = if(isnotnull(totalSize), totalSize, 0) 
| eval avgSize = if(isnotnull(avgSize), round(avgSize, 2), 0) 
| eval avgSizePerc = if(isnotnull(avgSizePerc), round(avgSizePerc, 2)."%", "N/A") 
| eval avgSizePerc = if(isnotnull(avgSizePerc), round(avgSizePerc, 2)."%", "N/A") 
| eval ninetyPercentileSizePerc = if(isnotnull(ninetyPercentileSizePerc), round(ninetyPercentileSizePerc, 2)."%", "N/A") 
| eval volumesFreezingDueToSize = if(avgSizePerc != "N/A", volumesFreezingDueToSize, "N/A") 
| rename title as "Volume" totalSize as "Total Size (GB)" avgSize as "Average Size (GB)" avgSizePerc as "Average Usage (%)" ninetyPercentileSizePerc as "90th Percentile Usage (%)" volumesFreezingDueToSize as "Volumes Freezing Due To Size"

I think that you could change this easily to match your actual needs?

r. Ismo 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...