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
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

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 ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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