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!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

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