Security

Where to find a list of users in Splunk web.

strive
Influencer

Hi,

In our Custom Web UI we create users and also assign custom roles. We use splunk REST API and add these users into splunk.

My first question:

Where can i find the list of users in splunk web? I tried seeing under JS node --> Manager --> Access Controls --> Users. I did not find the users that i created from our custom web UI.
I am sure that it is saved inside splunk. When i use splunk REST API /services/authentication/users to get the list of users, it correctly displays the users (user names, roles that i assigned). But i am unable to locate it under splunk Web.

My second question:

I need the user names and their roles in java script to implement some functionality. In JS, if i do Splunk.util.getConfigValue("USERNAME") it correctly fetches user name. I am unable to get role information. I tried ROLES and ROLE, but it returned nothing. How to get user role information in java script?

Thanks

Strive

Tags (2)
0 Karma
1 Solution

Neeraj_Luthra
Splunk Employee
Splunk Employee

Manager -> Access Controls -> Users should show all the users granted you are logged in with the appropriate user. Try logging in with admin and see if the users you created show up.

For getting the roles that a user is tied to, refer to the code sample at http://dev.splunk.com/view/SP-CAAAEJ8#listusers.

View solution in original post

Neeraj_Luthra
Splunk Employee
Splunk Employee

Manager -> Access Controls -> Users should show all the users granted you are logged in with the appropriate user. Try logging in with admin and see if the users you created show up.

For getting the roles that a user is tied to, refer to the code sample at http://dev.splunk.com/view/SP-CAAAEJ8#listusers.

Get Updates on the Splunk Community!

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 ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...