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!
try hitting the master's searchheads and indexes endpoints
https://mymaster:mgmt_port/services/cluster/master/searchheads
https://mymaster:mgmt_port/services/cluster/master/indexes
try hitting the master's searchheads and indexes endpoints
https://mymaster:mgmt_port/services/cluster/master/searchheads
https://mymaster:mgmt_port/services/cluster/master/indexes
Correct answers. Thank you!