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
jsanz
(Jorge Sanz)
October 1, 2024, 9:25am
2
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
jsanz
(Jorge Sanz)
October 1, 2024, 4:27pm
4
There is no direct workaround, I'm afraid. The issue you fund is the correct place to track its fixing.
opened 02:01PM - 22 Aug 24 UTC
bug
Team:SharedUX
**Kibana version:**
8.15.0
**Elasticsearch version:**
8.15.0
**Server OS… version:**
Ubuntu
**Browser version:**
Chrome and Edge
**Original install method (e.g. download page, yum, from source, etc.):**
ECK
**Describe the bug:**
It seems that Sharing Link improvement in 8.15.0 has a defect in the Dashboards
https://www.elastic.co/guide/en/kibana/current/whats-new.html#_sharing_improvements
After making some dashboard filter tweaks I want to share the link with my co-workers (Share > Links > Copy Link)... the copied link is very very long.
For comparison, in our testing, the Discover search gets converted to a short link but sharing from Dashboard results in long all query parameters being encoded in URL.
**Steps to reproduce:**
1. Open Saved Dashboard
2. Apply some filtering to data and timeframe
3. Click Share > Links > Copy Link button
4. Paste the copied URL somewhere and observe how long it is
**Expected behavior:**
Copied URL should be short per the 8.15.0 "whats new" documentation
OR
There should be and option to "generate short link" so that user can decide
**Screenshots (if relevant):**
not relevant
**Errors in browser console (if relevant):**
No errors or console messages when clicking Copy Link button
some errors and warning when Dashboard loads (in both Chrome and Edge)
<img width="1729" alt="image" src="https://github.com/user-attachments/assets/2c8a9d09-65b9-4c44-9607-31dad06ad094">
**Provide logs and/or server output (if relevant):**
dashboards#/view/d72fb2c0-36d7-11ee-91a2-a3ab7583b3da?_g=(refreshInterval:(pause:!t,value:0),time:(from:now-1h,to:now)):178 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'report-sample' 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-Vf/5lhWIh6ub3ANk6a6rqRaf7x7HUixyrKDFs2axDL0='), or a nonce ('nonce-...') is required to enable inline execution.
bootstrap.js:42 ^ A single error about an inline script not firing due to content security policy is expected!
**Any additional context:**
- worked in prior versions 8.14
- reported by multiple users on different browsers and networks
- tested in Chrome and Edge - same result
- tested in Incognito Mode- same result
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