Getting Data In

Splunk api to get all the indexes from all the indexer masters from search head

sumandeb_git
New Member

Hi,
I want to know if there is an api to retrieve all the indexes from all the indexer masters from search head.
we have one LB--->SH clusters-->Many cluster Masters (indexer)-->Peer nodes associated with each cluster (indexer)

So I want a single API that can get me the indexes irrespective of from which cluster/nodes they exist.
Also in JSON format and unlimited pagination ( not default 30 but count=-1)

0 Karma

skalliger
Motivator

Hi,

first of all, please don't refer to a Cluster Master as being an indexer. A CM basically is a Search Head. 🙂
If you're talking about "many indexers" I hope you actually mean "many indexer clusters (IDXC)" because otherwise, multiple CMs don't make any sense without those IDXC.

Here are three endpoints that you might find useful:

| rest /services/data/index-volumes
| rest /services/data/indexes
| rest /services/data/indexes-extended

Skalli

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...