Deployment Architecture

Determining if an index needs rebalance

tsheets13
Communicator

We recently worked with Pro Svcs to upgrade our Splunk Infrastructure and add two new search heads to the cluster. The recommendation was made to rebalance the indexes. How can I determine if any or all indexes need to be re-balanced? We have done 3 indexes. I'd like to see that status of those as well as the other indexes from a balancing perspective.

Tags (2)
0 Karma

woodcock
Esteemed Legend

Adding Search Heads has nothing to do with Indexers or the balance of data on them. In any case, the GUI on the Cluster Master clearly shows the balance and allows you to rebalance with the click of a button.

0 Karma

tsheets13
Communicator

I misspoke (mistyped). We added 2 indexers.

0 Karma

jessec_splunk
Splunk Employee
Splunk Employee

Hi, you can try one of the two ways:

  1. In the Cluster Master Spunk UI, you can navigate via Settings -> Indexer Clustering -> Peers, and look at the "Buckets" column. You will see bucket counts for each indexer. The numbers should be somewhat similar.
  2. | rest /services/data/indexes splunk_server=idx* | stats sum(currentDBSizeMB) as totalDBSize by splunk_server will also give you an idea of how balanced data is overall in terms of storage taken on peers.

Jesse

0 Karma

tsheets13
Communicator

This is helpful to get an idea of the overall bucket balance. I was hoping to get more specific detail about each individual index.

0 Karma

jessec_splunk
Splunk Employee
Splunk Employee

Try just | rest /services/data/indexes.

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...