# Kibana 7.16.1 short url

**URL:** <https://discuss.elastic.co/t/kibana-7-16-1-short-url/292476>\
**Category:** Kibana\
**Created:** [December 20, 2021, 3:02pm UTC](https://discuss.elastic.co/t/kibana-7-16-1-short-url/292476 "2021-12-20T15:02:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marko\_Brkusanin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marko_brkusanin/32/99322_2.png) [@Marko\_Brkusanin](https://discuss.elastic.co/u/Marko_Brkusanin)\
**Post date:** [December 20, 2021, 3:02pm UTC](https://discuss.elastic.co/t/kibana-7-16-1-short-url/292476/1 "2021-12-20T15:02:30Z")

</div>

Hi, after I upgrade ELK to version 7.16.1 i noticed that API "shorten\_url" is not working anymore. I found [Create short URL API | Kibana Guide [7.16] | Elastic](https://www.elastic.co/guide/en/kibana/current/short-urls-api-create.html), but is not clear to me what is: "locatorId" and how to convert previous API to get short URL to new one... ☹

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [December 20, 2021, 6:08pm UTC](https://discuss.elastic.co/t/kibana-7-16-1-short-url/292476/2 "2021-12-20T18:08:38Z")

</div>

Hi Marko,  
The Shorten URL API was revamped to make it store URLs that are capable of migrating versions.

> [@Marko\_Brkusanin](#):
>
> what is: "locatorId"

In Kibana, applications register an object with the Locator Service. The object defines the locator ID, how to form a link from application state, and how to migrate application state from older versions.

> [@Marko\_Brkusanin](#):
>
> how to convert previous API to get short URL to new one... ☹

When making a new short URL using the API, the best starting place will be to first create a short URL in the browser, while watching the network requests in the Network Inspector. These requests us the same API you can use in your scripts.

If you have the short URL saved in .kibana using a previous version, those URLs should be migrated after you upgrade to 7.16.1 -- but that could depend on which version you upgraded from. So you should have your previous short URLs available and you can use those as a starting point.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 17, 2022, 6:09pm UTC](https://discuss.elastic.co/t/kibana-7-16-1-short-url/292476/3 "2022-01-17T18:09:07Z")

</div>

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