Workaround for Dashboard short Share Link on Kibana v8.15.1

Hi everyone,

Since Kibana v8.15 and of course in v8.15.1 the Dashboard short Share Link doesn't work as expected, one user opened an issue, although has been improved.

Is there a workaround to get in Kibana v8.15.1 Dashboard short Share Link?

Thanks a lot.

Best regards,
Gabriele

Check this other issue, the workaround should be to add embed=true to the copied URL.

Hi Jorge,

Before in Kibana v8.11.1 it was possible to have this kind of short link:

https://<KibanaURL>/app/r/s/tEsT12

Now with v8.15.1 it's not possible anymore.
For this kind of short link is there a way to have it in v8.15.1 (workaround)?

Thanks.

Best regards,
Gabriele

There is no direct workaround, I'm afraid. The issue you fund is the correct place to track its fixing.

1 Like

Hi Jorge,

Thanks for sending me the link of the opened issue on GitHub!
Hope it will be fixed in the next major release.

Best regards,
Gabriele

If anyone else is searching for a workaround until this gets fixed, you can build you own URL with the below API call.
You can even specify you own 4 char short URL by specifying the parameter "slug" (humanReadableSlug need to be removed)

POST kbn:api/short_url
{
  "locatorId": "LEGACY_SHORT_URL_LOCATOR",
  "params":
  {
    "url": "/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:60000),time:(from:now-1m,to:now))&_a=(columns:!(),dataSource:(dataViewId:a2aff44e-17d6-4873-912a-445e7c77b7a5,type:dataView),filters:!(),hideChart:!f,interval:auto,query:(language:kuery,query:''),sort:!(!('@timestamp',desc)))"
  },
  "humanReadableSlug": true
}
1 Like

Hi Sebastian,

I just tested the API on the DevTools Console and it works also with Dashboard Link.
Thank you!

Best regards,
Gabriele