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
Influencer

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!

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...