# Item url {{key}} error in time series visualization

**URL:** https://discuss.elastic.co/t/item-url-key-error-in-time-series-visualization/192464
**Category:** Kibana
**Created:** [July 26, 2019, 2:45pm UTC](https://discuss.elastic.co/t/item-url-key-error-in-time-series-visualization/192464 "2019-07-26T14:45:37Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![rcodestuff](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rcodestuff](https://discuss.elastic.co/u/rcodestuff)
#### Post date: [July 26, 2019, 2:45pm UTC](https://discuss.elastic.co/t/item-url-key-error-in-time-series-visualization/192464/1 "2019-07-26T14:45:37Z")

</div>

Hi,

In time series visual builder I created a table with the first column displaying string values. The data for which comes from field name called 'cities'.

Next I modified the Item Url field under Panel Options to enter "[https://www.google.com/](https://www.google.com/)". Now when I click on any of the strings in the first column it takes me to [https://www.google.com/](https://www.google.com/) as desired.

Next I tried to leverage the {{key}} mustache template and modified Item Url to replace the google link with "[https://www.somesite.com/country=usa&place={{cities}](https://www.somesite.com/country=usa&place=%7B%7Bcities%7D)}", where cities is the field name populating the first column. This does not work. I see an error which says - error: "cities" not defined in [object Object]

Any suggestions on what's wrong with my usage?  
Using version 6.6.2

Thanks

---

<div class="post-metadata">

### Author: ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)
#### Post date: [July 29, 2019, 8:46pm UTC](https://discuss.elastic.co/t/item-url-key-error-in-time-series-visualization/192464/2 "2019-07-29T20:46:24Z")

</div>

Does `https://www.somesite.com/country=usa&place={{key}}` work? I tried something similar in 7.2. I think `{{key}}` in the instructions needs to be taken literally here. 🙂

 ![Screenshot_2019-07-29%20Kibana(3)](https://us1.discourse-cdn.com/elastic/original/3X/0/f/0fef2ae522eac6fd2a0255a39eeb2958f79a2296.png)

---

<div class="post-metadata">

### Author: ![rcodestuff](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rcodestuff](https://discuss.elastic.co/u/rcodestuff)
#### Post date: [July 31, 2019, 10:57am UTC](https://discuss.elastic.co/t/item-url-key-error-in-time-series-visualization/192464/3 "2019-07-31T10:57:30Z")

</div>

Using `{{key}}` in the instructions literally worked. 🙂  
Thanks for the help.

---

<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: [August 28, 2019, 10:57am UTC](https://discuss.elastic.co/t/item-url-key-error-in-time-series-visualization/192464/4 "2019-08-28T10:57:42Z")

</div>

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