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!

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to ...

Announcing the Migration of the Splunk Add-on for Microsoft Azure Inputs to Officially Supported Splunk ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI! Discover how Splunk’s agentic AI ...