Splunk Search

How to show search history of ALL users but one specific APP?

annakeuchenius
Engager

I would like to search the history of one specific app. It is irrelevant which user performed the search.
How can I get this information?

| history
gives the searches of one specific app, but also one specific user

| index=_audit action=search info=granted search=*
gives me all the searches, but I do not know how to filter for searches of one specific app only.

If you can help me, please do,..Thanks so much for your time!

Tags (2)

jkat54
SplunkTrust
SplunkTrust

This seems to work in most cases:

 index=_audit action=search info=granted action=search | rex field=_raw "REST:\s+/(?<appName>.*)/jobs/"| table user appName
0 Karma

DonaldvdHoogenb
Path Finder

Your answer only gives the app in which the search is executed, which is always the search app. It does not specify in which app the search results will be returned. You did great by coming up with this search, but the results are unfortunately not what they are supposed to be.

0 Karma

jkat54
SplunkTrust
SplunkTrust

Ah good point... im looking at the rest endpoint not the app name

0 Karma
Get Updates on the Splunk Community!

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened Audit Trail v2 wasn’t written in isolation—it was shaped by your voices. In ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...