Skip to content

Kibana - Dashboard - Share Feature - Short Link not working #191090

@balyukox

Description

@balyukox

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)
image

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

Metadata

Metadata

Assignees

Labels

SharedUX/fix-it-weekBugs that have been groomed and queued up for the team's next fix it weekTeam:SharedUXPlatform AppEx-SharedUX (formerly Global Experience) t//bugFixes for quality problems that affect the customer experienceimpact:highAddressing this issue will have a high level of impact on the quality/strength of our product.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions