kibana multinenancy sharing objects

Hi,

First of all, thanks a lot for the multitenancy feature, and for your awesome support.

Now to the question: how are users supposed to share links to searches/visualizations/dashboards?
The problem is for the following link to work, they need to switch to the right tenant first:

https://multitenant.kibana.example.com/app/kibana#/visualize/edit/cac873e0-3644-11e7-a968-05bfb94b68ab

``

``

Could not locate that visualization (id: cac873e0-3644-11e7-a968-05bfb94b68ab)

If they’re in the wrong tenant, they’ll get this:

``
I guess one way to solve this would be to use a url query param containing the tenant:

https://multitenant.kibana.example.com/app/kibana#/visualize/edit/cac873e0-3644-11e7-a968-05bfb94b68ab?sg_tenant=Global

``

``

``

Cheers

Yes, you’re right, this is currently not supported by the plugin. If the user did not select the correct tenant beforehand, the saved object cannot be found.

We’re investigating whether we can add the tenant to the links automatically, however, at the moment it seems there’s no way of doing so. Thus, you would have to add the tenant param manually. Which, admittedly, is not very convenient.

But we also see the benefits here, especially when you use SSO like proxy auth. We’re on it, thanks for your help and input!

···

On Thursday, May 11, 2017 at 2:33:55 PM UTC+2, Fabien Wernli wrote:

https://multitenant.kibana.example.com/app/kibana#/visualize/edit/cac873e0-3644-11e7-a968-05bfb94b68ab

``

``

Could not locate that visualization (id: cac873e0-3644-11e7-a968-05bfb94b68ab)

https://multitenant.kibana.example.com/app/kibana#/visualize/edit/cac873e0-3644-11e7-a968-05bfb94b68ab?sg_tenant=Global

``

``

``

Hi,

First of all, thanks a lot for the multitenancy feature, and for your awesome support.

Now to the question: how are users supposed to share links to searches/visualizations/dashboards?
The problem is for the following link to work, they need to switch to the right tenant first:

If they’re in the wrong tenant, they’ll get this:

``
I guess one way to solve this would be to use a url query param containing the tenant:

Cheers

Great to know you’re on it.
That being said, manually adding it to the URL would be a reasonably convenient workaround, as far as we’re concerned :slight_smile:

Hi Fabien,

we’ve prepared the RC1 of the next version of the Kibana plugin, including selecting the tenant by URL parameter. Here’s a built for Kibana 5.3.2:

https://cdn.filestackcontent.com/hQkZ5L5dRbSGPsZgj1J4

You can use the sg_tenant query param to auto-select a tenant, like:

http://localhost:5601/app/kibana?sg_tenant=management#/visualize/edit/8a6052b0-3fad-11e7-9b4b-8d97a2b70eba?_g=()

(Careful to put the param before the hash).

Besides the configured tenant names, you can also use “private” and “global” if they are enabled.

Let me know if this works for you!

···

On Thursday, May 11, 2017 at 2:50:25 PM UTC+2, Fabien Wernli wrote:

Great to know you’re on it.
That being said, manually adding it to the URL would be a reasonably convenient workaround, as far as we’re concerned :slight_smile:

\o/ thanks a bunch.

:now_testing:

Hi,

It works like a charm so far, thanks again!

Great to hear, and thanks for testing!

···

On Tuesday, May 23, 2017 at 3:54:29 PM UTC+2, Fabien Wernli wrote:

Hi,

It works like a charm so far, thanks again!

Hi again,

Do you think it would be possible to add the tenant to the “share dashboard” button, which seems the natural way to share a dashboard, but which is obviously broken in a multi-tenant environment?

Cheers!

we will check this, thx for the suggestion

···

On Tuesday, 12 September 2017 17:12:14 UTC+2, Fabien Wernli wrote:

Hi again,

Do you think it would be possible to add the tenant to the “share dashboard” button, which seems the natural way to share a dashboard, but which is obviously broken in a multi-tenant environment?

Cheers!