<?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: Not able to list out the saved search using REST API in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214222#M42119</link>
    <description>&lt;P&gt;Super cool, that worked. Thanks a ton.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Jun 2016 16:11:37 GMT</pubDate>
    <dc:creator>anoopambli</dc:creator>
    <dc:date>2016-06-22T16:11:37Z</dc:date>
    <item>
      <title>Not able to list out the saved search using REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214217#M42114</link>
      <description>&lt;P&gt;I am trying to figure out how to execute a saved search and get the results using the REST API. I have created few saved searches, but I'm not able to list them when I try &lt;CODE&gt;curl -ks -u admin: &lt;A href="https://splunkrest:8089/services/saved/searches" target="test_blank"&gt;https://splunkrest:8089/services/saved/searches&lt;/A&gt;&lt;/CODE&gt;. It just shows the default searches. &lt;/P&gt;

&lt;P&gt;Any specific permission I need to set on the saved search so that they can be used via REST API?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 16:14:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214217#M42114</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2016-06-20T16:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to list out the saved search using REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214218#M42115</link>
      <description>&lt;P&gt;Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -ks -u admin: &lt;A href="https://splunkrest:8089/servicesNS/-/-/saved/searches" target="test_blank"&gt;https://splunkrest:8089/servicesNS/-/-/saved/searches&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Jun 2016 16:28:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214218#M42115</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-20T16:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to list out the saved search using REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214219#M42116</link>
      <description>&lt;P&gt;I am able to view my saved search properties now. Thanks for your help. When I try to execute REST API call for dispatching the saved search, I get following error message, Any idea?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;bash-3.2$ curl -ks -u : &lt;A href="https://splunkrestsvc.fmrco.com/servicesNS/-/-/saved/searches/API_Test/dispatch" target="test_blank"&gt;https://splunkrestsvc.fmrco.com/servicesNS/-/-/saved/searches/API_Test/dispatch&lt;/A&gt; -d force_dispatch=true

&amp;lt;msg type="ERROR"&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In handler 'savedsearch': Cannot edit/create a saved search for wildcarded users or applications&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 16:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214219#M42116</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2016-06-20T16:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to list out the saved search using REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214220#M42117</link>
      <description>&lt;P&gt;In handler 'savedsearch': Cannot edit/create a saved search for wildcarded users or applications is the error message.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 16:43:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214220#M42117</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2016-06-20T16:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to list out the saved search using REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214221#M42118</link>
      <description>&lt;P&gt;The endpoint is actually this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &lt;A href="https://splunkrestsvc.fmrco.com/servicesNS/USER/APP/saved/searches" target="test_blank"&gt;https://splunkrestsvc.fmrco.com/servicesNS/USER/APP/saved/searches&lt;/A&gt;.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once you've the property using first curl, grab the owner/author and the app context and use that for your second dispatch curl.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jun 2016 17:56:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214221#M42118</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-20T17:56:09Z</dc:date>
    </item>
    <item>
      <title>Re: Not able to list out the saved search using REST API</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214222#M42119</link>
      <description>&lt;P&gt;Super cool, that worked. Thanks a ton.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2016 16:11:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Not-able-to-list-out-the-saved-search-using-REST-API/m-p/214222#M42119</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2016-06-22T16:11:37Z</dc:date>
    </item>
  </channel>
</rss>

