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!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...