Getting Data In

|rest /servicesNS/-/-/search/distributed/peers Get all indexers - capabilities - user role

net1993
Path Finder

Hi

I am in a bit of urgent issue and cannot figure out solution.
I use that rest call to get list of all indexers:
|rest /servicesNS/-/-/search/distributed/peers
From admin is working ok but from User role getting error:

Failed to fetch REST endpoint uri=https://127.0.0.1:8089/servicesNS/-/-/search/distributed/peers?count=0 from server https://127.0.0.1:8089. Check that the URI path provided exists in the REST API

I have tried added all rest capabilities for my user role

Tags (1)
0 Karma

lakshman239
SplunkTrust
SplunkTrust

Can you try creating a user or power user role and assign the following capabilities to them and assign to a user to test? [ it may work just with list and in that case, you can remove edit]

edit_dist_peer
edit_indexer_cluster
edit_indexer_discovery
indexes_edit
list_indexer_cluster
list_indexer_discovery
0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...