Splunk Search

Writing a search that provides information about searches.

dolfantimmy
Path Finder

My client has asked for a detailed report on their searches. They wish to know things like name of search, whether it's scheduled and for when, is there an alert configured and if so what type and to whom, and of course the search it's self. Can someone tell me if this is possible and if so, point me in the right direction?

Thanks in advance.

Tags (2)
0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Start with this:

| rest /servicesNS/user/app/saved/searches

That'll give you literally everything there is to know about a saved search saved in that app for that user. Replace the user with a dash - to get searches shared to that app. See http://docs.splunk.com/Documentation/Splunk/6.1.3/RESTAPI/RESTsearch#GET_saved.2Fsearches for reference.

Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...