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
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 ...