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!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...