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!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...