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!

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...