Monitoring Splunk

Splunk query to get the list of users using api to get the data from splunk

rahulbhatia
Path Finder

Hi All,

 

I want to get list of users using the splunk api to get the data from splunk, can you please guide how we can do that.

 

 

Labels (1)
0 Karma

venkatasri
SplunkTrust
SplunkTrust

@rahulbhatia 

Try this base query uri_path field contains api, user field having user details. Do you know the api you want to find in then filter them

index=_internal source="/opt/splunk/var/log/splunk/splunkd_access.log" sourcetype=splunkd_access | table _time user uri_path output_mode

--

an upvote would be appreciated if this reply helps!

 

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...