Monitoring Splunk

Need SPLs to list the current users in Splunk Ent. and ES. Plus listing unauthorized accts created / deleted. Thank u

SamHTexas
Builder

Need SPLs to list the current users in Splunk Ent. and ES. Plus listing unauthorized accts created / deleted. Thank u very much in advance.

Labels (1)
Tags (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

To get a list of Splunk users, start with this REST command

| rest /services/authentication/users

To find newly created or deleted accounts, try this search.  It's up to you to determine if they're authorized or not.  As far as Splunk is concerned, someone with the right capabilities created or deleted the account so it must be authorized.

index=_audit action IN (create_user remove_user)

 

---
If this reply helps you, Karma would be appreciated.

View solution in original post

SamHTexas
Builder

Thank u sir as always.

0 Karma

richgalloway
SplunkTrust
SplunkTrust

To get a list of Splunk users, start with this REST command

| rest /services/authentication/users

To find newly created or deleted accounts, try this search.  It's up to you to determine if they're authorized or not.  As far as Splunk is concerned, someone with the right capabilities created or deleted the account so it must be authorized.

index=_audit action IN (create_user remove_user)

 

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...