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!

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 ...