Searched for answers, but couldn't figure it out.
The closest answer was:
how-to-change-sharing-and-permissions-for-a-lookup
I am using Splunk version 6
Any help in this matter is appreciated.
Thanks in advance
Got the answer finally :
You can update the permission of tags through REST API having a POST request at the following url and parameters:
https://localhost:8089/servicesNS/ks/search/saved/fvtags/tag_name/field%3Dvalue/acl -d owner="ks" -d sharing="app" -d perms.read="*" -d perms.write="*"
Got the answer finally :
You can update the permission of tags through REST API having a POST request at the following url and parameters:
https://localhost:8089/servicesNS/ks/search/saved/fvtags/tag_name/field%3Dvalue/acl -d owner="ks" -d sharing="app" -d perms.read="*" -d perms.write="*"
Hi
You will find answers for your queries in the below URLs..
https://answers.splunk.com/answers/345286/change-tag-permission-via-rest-api-curl.html
https://answers.splunk.com/answers/13189/setting-tag-values-through-rest-api.html
Also, if you want to change permission of any other object, check the below URL for details & examples.
http://docs.splunk.com/Documentation/Splunk/6.3.3/RESTUM/RESTusing#Access_Control_List
tried most of them ..didn't get any kind of success. In to documentation of ACL it is written many APi are supported but not all i suppose .So in that case can i change the permissions of tags ?
There is no sure answer for that anywhere , just examples .
Try this
curl -k -u admin:password http://localhost:8089/servicesNS/js/search/data/search/tags/{tag_name}/acl -d owner=js -d sharing=app -d perms.read=* -d perms.write=*
Tried this .. Its giving me unknown endpoint.
i tried using this url
https://localhost:8089/servicesNS/admin/search/search/tags/{tag_name}/acl
Did you replace the '{tag_name}' with your tag name that you created?
yes .. for sure . In the below comment i found about this link
http://docs.splunk.com/Documentation/Splunk/latest/RESTUM/RESTusing#Access_Control_List
Here in the docs , it says many api's are supported . Is that mean not all . So can i change the permissions of tags or not