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!

test 2

test 222222

test

test

Join the Hackathon at .conf26 and build a No-Code AI agent

Join us for the AI Agent Buildathon, an in-person, three-hour hands-on Hackathon where you’ll use Splunk Agent ...