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!

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...

Splunk App for Anomaly Detection End of Life Announcement

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...