Splunk Search

How can I get the app name where the user searches are run

pradeepkumarg
Influencer

I want to get the app name where the users have run their searches eg: search, myapp1, myapp2

index=_audit action=search

I Couldn't get much information on the app from the above logs

Tags (3)
0 Karma

Drainy
Champion

Something like this will give you a count of the searches a user has initiated per app (including ad-hoc dashboard ones);
index=_internal sourcetype="splunk_web_access" client_app="*" | stats count by user,client_app

If you want to pull searches out too you could write a regex to get the part you need out.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...