Generating short URL to hide filters


We need to transform URL like this


to url like this (this url is generated when you use the Short url option when sharing a dashboard)


It's for iframe url because we don't want that specific filters appears if someone inspects the code of the iframe.

How is it possible to do that ? Is it with the Kibana short URL api ?
In that case, what is this locator id. I saw many questions regarding this and I still can't figure how to find it easily :frowning:

Thanks for your help !


I finally found my answer. The locator ID is just a simple string with this value : "LEGACY_SHORT_URL_LOCATOR"

with this, I am able to generate short kibana URLs, using the short_url API, for my iframe, where filters are hidden (not present in the iframe URL)

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.