Short url for dashboards

ROR Version: 1.66.1, 1.68.0

Kibana Version: 8.18.3

Elasticsearch Version:8.18.3

Steps to reproduce the issue
open dashboards - share - links - copy links

Expected result:
The short link is copied

Actual Result:

url /s/default/api/short_url
metod POST
Status Code: 400 Bad Request

{“customer_id”: “6c4a385b-2ae8-4f02-a9cd-ef24addfb5b3”, “subscription_id”: “32d4073f-dc2f-4056-a868-842727c637cd”}

Hello @driveirk

It’s a problem on the Kibana side, as I checked, it’s fixed in a Kibana 8.18.4

Fixes an issue with dashboard sharing links where copied links were not shortened and some users were unable to copy links in new spaces (#227625).

hello @Dzuming

But if you remove the ror plugin from Kibana only, copying links works. I tested that first.

Yes, because we always add space info to the URL on a plugin level for a technical reasons, and the problem on KIbana side is, when there is a space info in URL, the short url won’t work. You can test it, by creating custom space and try to copy link on the Kibana without a plugin.

1 Like