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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...