"Explore in Discover" produces very long URLs

Hello there,

I have a Lens Visualization using a table where I now want to look at the matching records in Discover in detail. So I try to click “Explore in Discover”, but that forwards me to a link with 11,000+ characters. My Kibana is hosted behind AWS CloudFront that apparently has a hard limit on the URL length of 8192 and simply refuses all requests longer than that with status code 414.

Is there any way to work around this? I did try enabling state:storeInSessionStorage, but that made no difference.

Hello @xcq1

Welcome to the Community!!

Could you please share the ELK version?

This setting is under Preview but still should work :

Can we create a discover “Save Discover session” and use that on Dashboard so the records will be visible on the Dashboard itself as per the filters?

Thanks!!

Thanks!

I’m on version 9.2.4, and didn’t see any fixes in the changelog after that, but if there are any improvements, I can also update.

Tried the storeInSessionStorage setting again. When opening the Lens, I can then see the URL is a smaller, but the “Explore in Discover” link still remains the full length. Most of it is an “lz” parameter that seems binary encoded and is not readable for me.

I’ll look into your idea of adding a Discover and embedding both on a dashboard. Our use case is we already have visualizations with filters that are used in for a “drill down”, and then the last step of that would be to take a look for the actual records. So if everything can be done by filtering only on the dashboard, this could work.

Best

1 Like