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!

From Alert to Resolution: How Splunk Observability Helps SREs Navigate Critical ...

It's 3:17 AM, and your phone buzzes with an urgent alert. Wire transfer processing times have spiked, and ...

ATTENTION!! We’re MOVING (not really)

Hey, all! In an effort to keep this Slack workspace secure and also to make our new members' experience easy, ...

Splunk Admins: Build a Smarter Stack with These Must-See .conf25 Sessions

  Whether you're running a complex Splunk deployment or just getting your bearings as a new admin, .conf25 ...