Splunk Search

Got a search which is very slow. How can I save all the related information for further analysis if needed.

daniel_splunk
Splunk Employee
Splunk Employee

Got a search which is slow.

When I click the job inspector, see all the time spend on different components. Is it possible to save all those information for later analysis as it take more than 1 hr to repro / run the search each time.

Tags (1)
0 Karma

daniel_splunk
Splunk Employee
Splunk Employee

When click 'Inspect Job', you'll get a SID. For example, SID: 1554349211.28387

You can ssh to the splunk box and go to below directory

/opt/splunk/var/run/splunk/dispatch/1554349211.28387

Then, create a file called 'save' and Splunk will not remove that directory (You may need to remove that directory later after invesgitation).

# touch save

Moreover, you can tar the above directory and transfer to our host for further analysis also.

The search inspector log can be viewed as:

http://localhost:8000/en-US/manager/search/job_inspector?sid=1554349211.28387
Get Updates on the Splunk Community!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...