<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Accessing dispatch via the API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-dispatch-via-the-API/m-p/380656#M68699</link>
    <description>&lt;P&gt;Hi @nickstone,&lt;/P&gt;

&lt;P&gt;If you know the Job ID then you can use this REST API &lt;CODE&gt;&lt;A href="https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;" target="test_blank"&gt;https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;&lt;/A&gt;;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;For example if you want to see &lt;CODE&gt;search.log&lt;/CODE&gt; of any jobs then you can use &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:pass &lt;A href="https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;/search.log" target="test_blank"&gt;https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;/search.log&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 21 Sep 2018 08:44:55 GMT</pubDate>
    <dc:creator>harsmarvania57</dc:creator>
    <dc:date>2018-09-21T08:44:55Z</dc:date>
    <item>
      <title>Accessing dispatch via the API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-dispatch-via-the-API/m-p/380655#M68698</link>
      <description>&lt;P&gt;Is there a way to access the dispatch directories for gathering debugs etc via the REST API?&lt;BR /&gt;
Working in a shared environment and have limited access to CLI.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 22:32:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-dispatch-via-the-API/m-p/380655#M68698</guid>
      <dc:creator>nickstone</dc:creator>
      <dc:date>2018-09-20T22:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing dispatch via the API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-dispatch-via-the-API/m-p/380656#M68699</link>
      <description>&lt;P&gt;Hi @nickstone,&lt;/P&gt;

&lt;P&gt;If you know the Job ID then you can use this REST API &lt;CODE&gt;&lt;A href="https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;" target="test_blank"&gt;https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;&lt;/A&gt;;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;For example if you want to see &lt;CODE&gt;search.log&lt;/CODE&gt; of any jobs then you can use &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:pass &lt;A href="https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;/search.log" target="test_blank"&gt;https://&amp;lt;server&amp;gt;:&amp;lt;mgmt_port&amp;gt;/services/search/jobs/&amp;lt;job_id&amp;gt;/search.log&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 21 Sep 2018 08:44:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-dispatch-via-the-API/m-p/380656#M68699</guid>
      <dc:creator>harsmarvania57</dc:creator>
      <dc:date>2018-09-21T08:44:55Z</dc:date>
    </item>
  </channel>
</rss>

