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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

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