All Apps and Add-ons

query

shakti
Loves-to-Learn Everything

Hello,

Can anyone help me with the query that lists all the savedsearches in my splunk system along with the time taken by them to run completely?

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

There is no out-of-the-box query for that.  You have to combine a query that returns all saved searches with a query that pulls run times from the logs.  These searches should get you started.

| rest /servicesNS/-/-/saved/searches
index=_internal source=*scheduler.log component=SavedSplunker status=success

 

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...