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!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...