I am trying to update and add to my kibana saved objects for a specific tenant. I know that an index is created in elasticsearch for each tenant, so I could PUT/POST to that, but I’m wondering if I can also PUT/POST to the kibana API for adding/updating kibana saved objects.
you should not modify the kibana or tenant indices directly, but always use the saved_objects API (which, BTW, is finally public with 6.3). So yes, it is possible to use the saved_objects API with multi tenancy. Just add the tenand name manually in your curl call like:
Two things to keep in mind: If you want to access the Global tenant, just remove the header completely. If you want to access the private tenant, the name is “user”.
I am trying to update and add to my kibana saved objects for a specific tenant. I know that an index is created in elasticsearch for each tenant, so I could PUT/POST to that, but I’m wondering if I can also PUT/POST to the kibana API for adding/updating kibana saved objects.