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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...