Getting Data In

rest command without admin account

thielethomas
Explorer

Hi,

which role rights are necessary for using the rest command (http://docs.splunk.com/Documentation/Splunk/6.6.1/SearchReference/Rest#Syntax) in splunk searches ?

The search is just working with an admin account at the moment. When using power user account, I get:

REST Processor: Failed to fetch REST endpoint uri=https://127.0.0.1:8089/services/deployment/server/clients?count=0 from server https://127.0.0.1:8089. Check that the URI path provided exists in the REST API.
Unexpected status for to fetch REST endpoint uri=https://127.0.0.1:8089/services/deployment/server/clients?count=0 from server=https://127.0.0.1:8089 - Forbidden

I already added all rest rights to poweruser role (rest_*).

Tags (2)
0 Karma
1 Solution

thielethomas
Explorer

Hi maciep,

thanks for your hint !!!
I had to add "list_deployment_client" & "list_deployment_server" in order to get my dashboard working.

View solution in original post

0 Karma

thielethomas
Explorer

Hi maciep,

thanks for your hint !!!
I had to add "list_deployment_client" & "list_deployment_server" in order to get my dashboard working.

0 Karma

maciep
Champion

I could be mistaken, but I think the user would need to have access to whatever objects they're trying to access via rest. For example, can your power user log on to that Splunk instance and get to Forwarder Management manually (looks like you're trying to hit the deployment server)?

0 Karma
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf24, and Community Connections

Thank you to everyone in the Splunk Community who joined us for .conf24 – starting with Splunk University and ...

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...