# Kibana 4 URL template with multiple values

**URL:** <https://discuss.elastic.co/t/kibana-4-url-template-with-multiple-values/54842>\
**Category:** Kibana\
**Created:** [July 6, 2016, 3:38pm UTC](https://discuss.elastic.co/t/kibana-4-url-template-with-multiple-values/54842 "2016-07-06T15:38:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalitr](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@lalitr](https://discuss.elastic.co/u/lalitr)\
**Post date:** [July 6, 2016, 3:38pm UTC](https://discuss.elastic.co/t/kibana-4-url-template-with-multiple-values/54842/1 "2016-07-06T15:38:40Z")

</div>

Hello,

The Kibana 4 feature that allows to create URL based on fields in doc is great. But seems like it support using only one value at the moment.

Is there a way to use values from multiple fields in the document to build the URL ?

For e.g. something like this - [http://company.net/profiles?user\_id={{value}](http://company.net/profiles?user_id=%7B%7Bvalue%7D)}&region={{value2}}  
so it has to read two values from the document?

Possible? If not, worth considering for future releases?

Regards,  
Lalit

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [July 7, 2016, 6:15pm UTC](https://discuss.elastic.co/t/kibana-4-url-template-with-multiple-values/54842/2 "2016-07-07T18:15:36Z")

</div>

I'm not sure specifically what part of Kibana you're referring to. Discover, Visualize, Dashboard? Could you provide a screenshot to demonstrate what you mean maybe?

---

<div class="post-metadata">

**Author:** ![lalitr](https://avatars.discourse-cdn.com/v4/letter/l/da6949/32.png) [@lalitr](https://discuss.elastic.co/u/lalitr)\
**Post date:** [July 11, 2016, 11:16am UTC](https://discuss.elastic.co/t/kibana-4-url-template-with-multiple-values/54842/3 "2016-07-11T11:16:20Z")

</div>

Well am referring to the "settings" section where a scripted field of type Url can be created using the Url Template -- so the problem is the Url template accepts value from only 1 field instead of multiple fields (which is what is needed for us).

Hope that helps identify the issue.

---

<div class="post-metadata">

**Author:** ![Bargs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bargs/32/5429_2.png) [@Bargs](https://discuss.elastic.co/u/Bargs)\
**Post date:** [July 11, 2016, 1:30pm UTC](https://discuss.elastic.co/t/kibana-4-url-template-with-multiple-values/54842/4 "2016-07-11T13:30:45Z")

</div>

Ah gotcha, I thought you meant something totally different. What you're describing isn't possible at the moment, but there is a ticket for it on the Github repo: [https://github.com/elastic/kibana/issues/4608](https://github.com/elastic/kibana/issues/4608)

The scripted field approach is more likely to be implemented than the field formatter approach, due to the issues Spencer brought up in that ticket.

---

<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:** [July 6, 2017, 1:47pm UTC](https://discuss.elastic.co/t/kibana-4-url-template-with-multiple-values/54842/5 "2017-07-06T13:47:19Z")

</div>


