Reporting

Is there a way to see the properties of a Role from the internal logs?

john_glasscock
Path Finder

I want to create a report or a dashboard to show roles and what indexes they have access to. Is there a way to do so from the internal logs?

0 Karma
1 Solution

MuS
Legend

Hi john.glasscock,

you can use a REST call (if you have permission to do so) to get the information you are after, try this :

 | rest /services/authorization/roles splunk_server=local 
 | table title imported_roles srchIndexesDefault imported_srchIndexesDefault

You can find more information about the REST API in Splunk here http://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing

Hope this helps ...

cheers, MuS

View solution in original post

0 Karma

MuS
Legend

Hi john.glasscock,

you can use a REST call (if you have permission to do so) to get the information you are after, try this :

 | rest /services/authorization/roles splunk_server=local 
 | table title imported_roles srchIndexesDefault imported_srchIndexesDefault

You can find more information about the REST API in Splunk here http://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing

Hope this helps ...

cheers, MuS

0 Karma
Get Updates on the Splunk Community!

Index This | How many sides does a circle have?

  March 2025 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with this ...

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...