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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...