-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Description
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:
- Open Saved Dashboard
- Apply some filtering to data and timeframe
- Click Share > Links > Copy Link button
- 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)

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