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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...