Getting Data In

Cluster info from master using REST API

shangshin
Builder

Hi,
In Splunk 6, I can see the peers, search heads and index names from the master GUI. I am trying to find the equivalent info in REST API

http://mysearchmaster:8000/en-US/manager/system/clustering?tab=searchheads
http://mysearchmaster:8000/en-US/manager/system/clustering?tab=indexes
http://mysearchmaster:8000/en-US/manager/system/clustering?tab=peers

I looked at the online doc http://docs.splunk.com/Documentation/Splunk/6.1.2/RESTAPI/RESTcluster#GET_cluster.2Fconfig

but still can't find e.g. all search head name and status.

Please advise if anyone has done the same thing before.

Thanks in advance!

Tags (4)
1 Solution

dxu_splunk
Splunk Employee
Splunk Employee

shangshin
Builder

Correct answers. Thank you!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...