Getting Data In

How to get the job's log file from client by REST API?

jenniferhao
Explorer

I made a big POST(REST API) request to "services/search/jobs" by collect with index and marker, it will return a sid. The job is taking too long(> 6hrs). I know I can query the status by /services/search/jobs/${sid}. But it cannot provide more information for debugging. How can I get this job's log file(/var/log/splunk/searchs.log etc ) from client?

Tags (1)
0 Karma

p_gurav
Champion

Hi,

Did you search index=_internal logs for that client?

0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...