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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...