Splunk Enterprise Security

Splunk Enterprise security Audit logs API

Chandrashekharg
Engager

How can we fetch the events performed by users in Splunk Enterprise security product from API's?

Labels (1)
Tags (2)
0 Karma

marnall
Builder

If you want to search the splunk internal audit events, use the _audit index
index=_audit

ref: https://docs.splunk.com/Documentation/Splunk/9.1.2/Security/AuditSplunkactivity

If you would like to fetch this information using the API, you can run a Splunk search by configuring a splunk-authenticated user with permission to read the _audit index, generating them a token, then using the REST API to dispatch a search and return the results.

Ref: https://docs.splunk.com/Documentation/Splunk/9.1.2/RESTREF/RESTsearch#search.2Fv2.2Fjobs.2Fexport

specifically the /search/v2/jobs/export endpoint, including your authorization token and the splunk search to list the audit events.

 

0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...