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!

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...

Splunk App Developers | .conf25 Recap & What’s Next

If you stopped by the Builder Bar at .conf25 this year, thank you! The retro tech beer garden vibes were ...

Congratulations to the 2025-2026 SplunkTrust!

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