Hi,
I am currently building a small Python script to let me create/update Splunk dashboards from the command line. To do so, I referred to this part of the Splunk documentation: http://docs.splunk.com/Documentation/Splunk/6.2.0/RESTREF/RESTknowledge#data.2Fui.2Fviews
To create a new dashboard, I send a POST request to this resource /servicesNS/my_username/my_app/. To update an existing dashboard, I send a POST request to this resource /servicesNS/my_username/my_app/my_dashboard. So far so good, I can see the dashboards created/updated from the Splunk interface. By default (And there is no way to override that apparently), the created dashboards are private.
An issue arises if, from the UI interface, I change the permissions of my dashboard from 'Private' to 'App'. After doing that, if I attempt to send a POST request to /servicesNS/my_username/my_app/my_dashboard to update the app-shared dashboard, I get a 404 response, although sending a GET request to /servicesNS/my_username/my_app/my_dashboard works fine.
Can anyone explain what's going on here?
Thanks,
Jean
... View more