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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...