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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...