Getting Data In

change the owner of a saved search via REST


Hi there,

I just want to change the attribut "owner" (within eai:acl) of a saved search via REST. Is this feasible?


Esteemed Legend


As of Splunk 6.6, you can now do this from the Search Head GUI with the new Reassign Knowledge Objects feature:

Here is the main place for the documentation on using the REST API:


I had to look around for a bit:

Being 'admin' within the search app, my saved search 'myTestSearch' has the following REST endpoint:


Therefor the following will work:

curl -k -u admin:changeme  -d 'owner=foo' -d 'sharing=app' https://localhost:8089/servicesNS/admin/search/saved/searches/myTestSearch/acl

This of course will reflect in a change of the corresponding entry within the local.meta

The next step would be giving away the owner rights of the saved search, beeing an ordinary user. Unfortunately this can not be done:

curl -k -u user:changeme  -d 'owner=foo' -d 'sharing=app' https://localhost:8089/servicesNS/user/search/saved/searches/myTestSearch/acl

ERROR: In handler 'savedsearch': You do not have permission to change the owner of this object.

Is there any other way to accomplish this? Maybe a dedicated capability (not admin_all_objects)?

Get Updates on the Splunk Community!

Splunk Forwarders and Forced Time Based Load Balancing

Splunk customers use universal forwarders to collect and send data to Splunk. A universal forwarder can send ...

NEW! Log Views in Splunk Observability Dashboards Gives Context From a Single Page

Today, Splunk Observability releases log views, a new feature for users to add their logs data from Splunk Log ...

Last Chance to Submit Your Paper For BSides Splunk - Deadline is August 12th!

Hello everyone! Don't wait to submit - The deadline is August 12th! We have truly missed the community so ...