<?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 Splunk 6 REST API - Delete Custom Dashboards in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-REST-API-Delete-Custom-Dashboards/m-p/136478#M28118</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In our application, we are using the REST API to create / delete custom dashboards in splunk.&lt;/P&gt;

&lt;P&gt;For delete, we use the following.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;CODE&gt;/servicesNS/usrname/appname/data/ui/views/customdashboardname&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;with HTTP DELETE. This was working smoothly with splunk 5.&lt;/P&gt;

&lt;P&gt;We recently upgraded to splunk 6 and when we used the same command to delete a custom dashboard we get the following error&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;CODE=404
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="ERROR"&amp;gt;In handler 'views': Cannot find entity with name="d"&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;where 'd' is the name of the custom dashboard.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;What has changed in splunk 6 with respect to this? I have tried and have not found any documentation regarding this.&lt;/P&gt;

&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2014 12:57:17 GMT</pubDate>
    <dc:creator>spiketide</dc:creator>
    <dc:date>2014-02-04T12:57:17Z</dc:date>
    <item>
      <title>Splunk 6 REST API - Delete Custom Dashboards</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-REST-API-Delete-Custom-Dashboards/m-p/136478#M28118</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;In our application, we are using the REST API to create / delete custom dashboards in splunk.&lt;/P&gt;

&lt;P&gt;For delete, we use the following.&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;CODE&gt;/servicesNS/usrname/appname/data/ui/views/customdashboardname&lt;/CODE&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;with HTTP DELETE. This was working smoothly with splunk 5.&lt;/P&gt;

&lt;P&gt;We recently upgraded to splunk 6 and when we used the same command to delete a custom dashboard we get the following error&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;CODE=404
&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;response&amp;gt;
  &amp;lt;messages&amp;gt;
    &amp;lt;msg type="ERROR"&amp;gt;In handler 'views': Cannot find entity with name="d"&amp;lt;/msg&amp;gt;
  &amp;lt;/messages&amp;gt;
&amp;lt;/response&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;where 'd' is the name of the custom dashboard.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;What has changed in splunk 6 with respect to this? I have tried and have not found any documentation regarding this.&lt;/P&gt;

&lt;P&gt;Thanks and Regards.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 12:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-REST-API-Delete-Custom-Dashboards/m-p/136478#M28118</guid>
      <dc:creator>spiketide</dc:creator>
      <dc:date>2014-02-04T12:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6 REST API - Delete Custom Dashboards</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-REST-API-Delete-Custom-Dashboards/m-p/136479#M28119</link>
      <description>&lt;P&gt;A good idea will be to check if the Owner of the view is showing as 'usrname' in Splunk.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2014 14:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-REST-API-Delete-Custom-Dashboards/m-p/136479#M28119</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-02-04T14:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6 REST API - Delete Custom Dashboards</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-REST-API-Delete-Custom-Dashboards/m-p/136480#M28120</link>
      <description>&lt;P&gt;This may happen in the cases of shared resources. &lt;BR /&gt;
Make sure the user for your sessionKey have write access over your application&lt;BR /&gt;
and use username for private custom dashboards and "nobody" for share deshboards&lt;BR /&gt;
ie, &lt;BR /&gt;
/servicesNS/&lt;STRONG&gt;usrname&lt;/STRONG&gt;/appname/data/ui/views/customdashboardname   - For privates Dsahboards&lt;BR /&gt;
/servicesNS/&lt;STRONG&gt;nobody&lt;/STRONG&gt;/appname/data/ui/views/customdashboardname   - For shared Dashboards&lt;/P&gt;

&lt;P&gt;Good Luck&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 11:12:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-REST-API-Delete-Custom-Dashboards/m-p/136480#M28120</guid>
      <dc:creator>paramagurukarth</dc:creator>
      <dc:date>2014-08-26T11:12:52Z</dc:date>
    </item>
  </channel>
</rss>

