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!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

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