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!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...