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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...