Security

List users belonging to a specific role

annebeate
Path Finder

Hi,

I would like to create a list of users belonging to a certain role using a saved search. Is this information available from one of the internal indexes?

Thanks in advance.

Tags (1)
0 Karma
1 Solution

jbsplunk
Splunk Employee
Splunk Employee

You can get this information from the rest endpoint on a per user basis, but I don't know of any way to query a role for its users. Take a look at:

https://splunkserver:8089/services/authentication/users

You should be able to get what you need from here.

View solution in original post

jbsplunk
Splunk Employee
Splunk Employee

You can get this information from the rest endpoint on a per user basis, but I don't know of any way to query a role for its users. Take a look at:

https://splunkserver:8089/services/authentication/users

You should be able to get what you need from here.

Get Updates on the Splunk Community!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...