<?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 Saved Search REST End Point in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83259#M17283</link>
    <description>&lt;P&gt;The following URI returns the metadata information related to a saved search named "test" found in application "search": &lt;/P&gt;

&lt;P&gt;&lt;A href="https://myhost:8089/servicesNS/userid/search/saved/searches/test"&gt;https://myhost:8089/servicesNS/userid/search/saved/searches/test&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I would like to know what will be the URI to run the saved search "test" found in application "search" where the returned data format is in json.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Lp&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2013 15:01:12 GMT</pubDate>
    <dc:creator>lpolo</dc:creator>
    <dc:date>2013-04-03T15:01:12Z</dc:date>
    <item>
      <title>Saved Search REST End Point</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83259#M17283</link>
      <description>&lt;P&gt;The following URI returns the metadata information related to a saved search named "test" found in application "search": &lt;/P&gt;

&lt;P&gt;&lt;A href="https://myhost:8089/servicesNS/userid/search/saved/searches/test"&gt;https://myhost:8089/servicesNS/userid/search/saved/searches/test&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I would like to know what will be the URI to run the saved search "test" found in application "search" where the returned data format is in json.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Lp&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 15:01:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83259#M17283</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2013-04-03T15:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Search REST End Point</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83260#M17284</link>
      <description>&lt;P&gt;If you want to run a search, you must also specify the view in which it is run, assuming you want to link to it and run it in the UI. ( If you want to just schedule and run in the background without UI, you can use the REST call &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTsearch#saved.2Fsearches.2F.7Bname.7D.2Fdispatch"&gt;http://docs.splunk.com/Documentation/Splunk/latest/RESTAPI/RESTsearch#saved.2Fsearches.2F.7Bname.7D.2Fdispatch&lt;/A&gt; ) &lt;/P&gt;

&lt;P&gt;Generally, this URL looks like &lt;A href="http://splunkweb:8000/en-US/app/search/flashtimeline?s=test"&gt;http://splunkweb:8000/en-US/app/search/flashtimeline?s=test&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2013 21:51:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83260#M17284</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-04-03T21:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Search REST End Point</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83261#M17285</link>
      <description>&lt;P&gt;It looks like the only way is to dispatch the saved search and then grab the results. &lt;BR /&gt;
It seems that there is not a way to call the saved search directly, unless; you call the end point to be part of a view like you mentioned.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 11:48:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83261#M17285</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2013-04-04T11:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Search REST End Point</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83262#M17286</link>
      <description>&lt;P&gt;That is what you would normally do with any search, even just a hardcoded search string, though I suppose you could run those with &lt;CODE&gt;exec_mode&lt;/CODE&gt; of &lt;CODE&gt;blocking&lt;/CODE&gt; or &lt;CODE&gt;oneshot&lt;/CODE&gt;. If that's what you want to do, you can just get the search string for the saved search and dispatch a job using that string in the desired &lt;CODE&gt;exec_mode&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:21:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83262#M17286</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2013-04-04T15:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Search REST End Point</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83263#M17287</link>
      <description>&lt;P&gt;I am aware of it. I just wanted know if it is possible to get the results of a saved search with a single REST call.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 15:29:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83263#M17287</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2013-04-04T15:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Saved Search REST End Point</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83264#M17288</link>
      <description>&lt;P&gt;I had to simplify the saved search to make it work. why? I do not know. the original saved search works when I dispatch the saved search and grab the results with the sid. &lt;/P&gt;

&lt;P&gt;This is an example:&lt;BR /&gt;
 &lt;A href="https://myhost.com:8089/services/search/jobs" target="_blank"&gt;https://myhost.com:8089/services/search/jobs&lt;/A&gt; -d search=" savedsearch test" -d exec_mode=oneshot -d output_mode=json . It worked.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:40:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Saved-Search-REST-End-Point/m-p/83264#M17288</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2020-09-28T13:40:27Z</dc:date>
    </item>
  </channel>
</rss>

