Splunk Search

Email report on Splunk Users

ma_anand1984
Contributor

I would like to create an email report with following details that runs every day

All admin users
All power users
User role - users count

Tags (4)
0 Karma
1 Solution

Ayn
Legend

There are no search commands that return this, so you'd have to write your own that gets that kind of info from the Splunk REST API endpoint and returns it.

View solution in original post

ma_anand1984
Contributor

seems we can use the brand new command | rest to access the information !!!

0 Karma

ma_anand1984
Contributor

@cboeing

try this

| rest splunk_server=local /servicesNS/-/-/authentication/users count=0 | table title email realname roles type

LiquidTension
Path Finder

This is great!!

cboeing
Engager

Hi Ma_anand1984,
would you share with what you ended up using?

Ayn
Legend

There are no search commands that return this, so you'd have to write your own that gets that kind of info from the Splunk REST API endpoint and returns it.

ma_anand1984
Contributor

any help please

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...