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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...