- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Need SPLs to list the current users in Splunk Ent. and ES. Plus listing unauthorized accts created / deleted. Thank u very much in advance.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


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.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank u sir as always.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content


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.
