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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...