Splunk Search

How to change sharing and permissions for a lookup table using the REST API?

polymorphic
Communicator

I need to change sharing and permissions for a lookup table file using the REST API.

I have been searching high and low for documentation, but I have been unable to find anything.

Does anyone have an idea how this is done?

1 Solution

polymorphic
Communicator

Got it:

curl -k -u admin:password http://localhost:8089/servicesNS/js/search/data/lookup-table-files/lookup.csv/acl -d owner=js -d sharing=app -d perms.read=* -d perms.write=*

View solution in original post

kartik13
Communicator

Then i suppose through this url i can change the permission, please correct me if i am wrong
https://localhost:8089/servicesNS/ks/search/saved/fvtags/host=hostvalue/acl

0 Karma

kartik13
Communicator

Then i suppose through this url i can change the permission, please correct me if i am wrong
https://localhost:8089/servicesNS/ks/search/saved/fvtags/host=hostvalue/acl

0 Karma

polymorphic
Communicator

appending /acl (curl -k -u admin:password https://localhost:8089/servicesNS/js/search/data/lookup-table-files/lookup.csv/acl -d owner=js -d sharing=app) seems to do the trick for owner and sharing, but i havent found the param for read and write access.
Anyone?

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...