<?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 Saved Report output in json from Splunk Rest API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-Saved-Report-output-in-json-from-Splunk-Rest-API/m-p/480495#M82375</link>
    <description>&lt;P&gt;First you must dispatch the report (if you havent already updated it using other means), then you must get the results endpoint to get the results.&lt;/P&gt;

&lt;P&gt;When you dispatch the search, you will get a SID (search id).  You use that SID in your quest for the results over here at the search/jobs/$SID$/results endpoint:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTREF/RESTsearch"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTREF/RESTsearch&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Remember that alerts, reports, and searches are all just searches.  So the best examples I know of are here in the rest tutorial for searches:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTTUT/RESTsearches"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTTUT/RESTsearches&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Nov 2019 12:26:47 GMT</pubDate>
    <dc:creator>jkat54</dc:creator>
    <dc:date>2019-11-11T12:26:47Z</dc:date>
    <item>
      <title>Accessing Saved Report output in json from Splunk Rest API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-Saved-Report-output-in-json-from-Splunk-Rest-API/m-p/480494#M82374</link>
      <description>&lt;P&gt;I have some reports saved under search app. I want to access these report output via Splunk REST API in a java program. I am trying below rest API for accessing output in java program.&lt;/P&gt;

&lt;P&gt;API: &lt;A href="https://hostname:8089/services/saved/searches/report_name"&gt;https://hostname:8089/services/saved/searches/report_name&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I can get all related details of this report but unable to get actual output. &lt;/P&gt;

&lt;P&gt;Can anyone help me getting the output of this report in json format.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 05:29:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-Saved-Report-output-in-json-from-Splunk-Rest-API/m-p/480494#M82374</guid>
      <dc:creator>twh1</dc:creator>
      <dc:date>2019-11-11T05:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Accessing Saved Report output in json from Splunk Rest API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Accessing-Saved-Report-output-in-json-from-Splunk-Rest-API/m-p/480495#M82375</link>
      <description>&lt;P&gt;First you must dispatch the report (if you havent already updated it using other means), then you must get the results endpoint to get the results.&lt;/P&gt;

&lt;P&gt;When you dispatch the search, you will get a SID (search id).  You use that SID in your quest for the results over here at the search/jobs/$SID$/results endpoint:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTREF/RESTsearch"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTREF/RESTsearch&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Remember that alerts, reports, and searches are all just searches.  So the best examples I know of are here in the rest tutorial for searches:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTTUT/RESTsearches"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/RESTTUT/RESTsearches&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 12:26:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Accessing-Saved-Report-output-in-json-from-Splunk-Rest-API/m-p/480495#M82375</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-11-11T12:26:47Z</dc:date>
    </item>
  </channel>
</rss>

