Splunk Search

About the time I spent in the search.

123omo
Observer

I want to know how long it takes to complete a search from the start.
Is there any way?

0 Karma

sbrant_splunk
Splunk Employee
Splunk Employee

You can get to the Search Job Inspector by going to the lower-right of the search bar and clicking on the icon with a lower-case "i". If you click on that after running your search, you will find a breakdown of your search. Amongst the information in the report is duration.

sbrant_splunk
Splunk Employee
Splunk Employee

runDuration is what you want to get the full time that the search took. Toward the top of that report window (Execution costs), there is a further breakdown to see where time was spent during the search, which can help you to optimize your searches.

There is of course additional information in the referenced search.log file, in case you need to refer to the raw data that the report is drawing from.

0 Karma

123omo
Observer

Thank you.
Should it refer to the following?
- The value of runDuration
- search.log

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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