Getting Data In

Accessing dispatch via the API

nickstone
Path Finder

Is there a way to access the dispatch directories for gathering debugs etc via the REST API?
Working in a shared environment and have limited access to CLI.

0 Karma

harsmarvania57
Ultra Champion

Hi @nickstone,

If you know the Job ID then you can use this REST API https://<server>:<mgmt_port>/services/search/jobs/<job_id>;

For example if you want to see search.log of any jobs then you can use

curl -k -u admin:pass https://<server>:<mgmt_port>/services/search/jobs/<job_id>/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 ...