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
SplunkTrust
SplunkTrust

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!

Using Machine Learning for Hunting Security Threats

WATCH NOW Seeing the exponential hike in global cyber threat spectrum, organizations are now striving more for ...

Observability Newsletter Highlights | March 2023

 March 2023 | Check out the latest and greatestSplunk APM's New Tag Filter ExperienceSplunk APM has updated ...

Security Newsletter Updates | March 2023

 March 2023 | Check out the latest and greatestUnify Your Security Operations with Splunk Mission Control The ...