ROR for KBN 7.17.29 -> Unable to create short URL

Hi,
After upgrading Elastic (KBN+ES) from 7.17.14 to 7.17.29 with ROR Free v.1.64.2(also tested newest ROR 1.65.1) I see that there’s a problem to ‘Create Short Url’

With ES and Kibana, both 7.17.14 it was OK.
I’ve also tested ROR v.1.64.2 with kibana 7.17.14+ES 7.17.29 and it works properly.


image
image
Example of my user config:

- name: "::XXX LDAP::"
  ldap_auth:
    name: "ldap"
    groups: ["XXX"]
  indices: [".kibana*", "xxx-*"]
  verbosity: error
  kibana_access: rw
  kibana_index: ".kibana-xxx"
  type: allow

Could there be a problem with Kibana 7.17.29 or the one newer than 7.17.14?

Regards,
Michał

Hello @mikeIT

I can confirm that there is a problem with creating a short link for Kibana 7.17.29. I will add a task to our backlog for verification and resolve this issue. As a workaround, you can use Kibana 7.17.28, which is unaffected by this problem.

Hello @mikeIT

I was able to reproduce this issue in a vanilla Kibana without a plugin installed. Looks like it’s a problem with the spacing feature on the Kibana side. If you disable spacing in a kibana.yml file, it will work as expected

xpack.spaces.enabled: false

Unfortunately, in Kibana 7.17.29 + ROR Free 1.64_2_es7.17.29 with disabled “xpack.spaces.enabled: false” (I’d prefer having that option enabled)


Spaces invisible
the problem still exists.
*the same exception for KBN “Free 1.65.1_es7.17.29”

The problem still exists.

That’s strange. Can you confirm that there is no /s/default in the URL? The space name in the URL blocks Kibana from correctly generating the short URL.

BTW. We won’t try to fix this issue on the plugin side, since it’s some kind of problem with Kibana and handling space names in short URLs. Let’s wait for a Kibana 7.20.0 release, where hopefully it will be fixed.

Yes, I can confirm that URL to Kibana doesn’t contain path to Default space. In my case with ‘xpack.spaces.enabled: false’ that’s “kibana_url/kibana/app/discover#/” instead of default ‘kibana_url/kibana/s/default/app/discover#/’

*There was some Security Update for KBN <7.17.29 and “Short URLs” Kibana 7.17.29, 8.17.8, 8.18.3, 9.0.3 Security Update (ESA-2025-10) - Security Announcements - Discuss the Elastic Stack

Additionally, I see that there already is a fix #227625 in the works for the known issue in 7.17.29, so maybe(let’s hope) this problem will be solved in 7.17.30 as well :slight_smile:

As I see you use server.basePath (because of this /kibana part in URL), and it also generates the same bug.