<?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: Executing a saved search and on-demand search using REST API in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Executing-a-saved-search-and-on-demand-search-using-REST-API/m-p/29322#M5904</link>
    <description>&lt;P&gt;Which language are you using?  If you are using a language that we have an SDK for, then I would go that route.  Info on SDKs is here:  &lt;A href="http://dev.splunk.com/view/sdks/SP-CAAADP7"&gt;http://dev.splunk.com/view/sdks/SP-CAAADP7&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you want to do it via the REST API - then take a look at these two tutorials:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/SP-CAAADQ5"&gt;http://dev.splunk.com/view/SP-CAAADQ5&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/saved-searches-and-alerting/SP-CAAADRK"&gt;http://dev.splunk.com/view/saved-searches-and-alerting/SP-CAAADRK&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;REST API reference docs for saved searches are here:  &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;You can call dispatch for the search you care about and then you should be off and running.  &lt;/P&gt;</description>
    <pubDate>Thu, 08 Aug 2013 19:54:05 GMT</pubDate>
    <dc:creator>psanford_splunk</dc:creator>
    <dc:date>2013-08-08T19:54:05Z</dc:date>
    <item>
      <title>Executing a saved search and on-demand search using REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Executing-a-saved-search-and-on-demand-search-using-REST-API/m-p/29321#M5903</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I would like to execute a saved search and also an on-demand hard-coded search using REST API.&lt;/P&gt;

&lt;P&gt;While I found a way to execute a hard-coded search, I haven't found a way to execute a saved search using REST API.&lt;/P&gt;

&lt;P&gt;Please let me know how to achieve the same.&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Amit Saxena&lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 18:29:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Executing-a-saved-search-and-on-demand-search-using-REST-API/m-p/29321#M5903</guid>
      <dc:creator>amit_saxena</dc:creator>
      <dc:date>2013-08-08T18:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: Executing a saved search and on-demand search using REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Executing-a-saved-search-and-on-demand-search-using-REST-API/m-p/29322#M5904</link>
      <description>&lt;P&gt;Which language are you using?  If you are using a language that we have an SDK for, then I would go that route.  Info on SDKs is here:  &lt;A href="http://dev.splunk.com/view/sdks/SP-CAAADP7"&gt;http://dev.splunk.com/view/sdks/SP-CAAADP7&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you want to do it via the REST API - then take a look at these two tutorials:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/SP-CAAADQ5"&gt;http://dev.splunk.com/view/SP-CAAADQ5&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://dev.splunk.com/view/saved-searches-and-alerting/SP-CAAADRK"&gt;http://dev.splunk.com/view/saved-searches-and-alerting/SP-CAAADRK&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;REST API reference docs for saved searches are here:  &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;You can call dispatch for the search you care about and then you should be off and running.  &lt;/P&gt;</description>
      <pubDate>Thu, 08 Aug 2013 19:54:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Executing-a-saved-search-and-on-demand-search-using-REST-API/m-p/29322#M5904</guid>
      <dc:creator>psanford_splunk</dc:creator>
      <dc:date>2013-08-08T19:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: Executing a saved search and on-demand search using REST API</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Executing-a-saved-search-and-on-demand-search-using-REST-API/m-p/29323#M5905</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Thanks, that worked for me !&lt;/P&gt;

&lt;P&gt;Regards,&lt;BR /&gt;
Amit Saxena&lt;/P&gt;</description>
      <pubDate>Fri, 09 Aug 2013 11:58:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Executing-a-saved-search-and-on-demand-search-using-REST-API/m-p/29323#M5905</guid>
      <dc:creator>amit_saxena</dc:creator>
      <dc:date>2013-08-09T11:58:22Z</dc:date>
    </item>
  </channel>
</rss>

