# URL template in data view now working

**URL:** <https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773>\
**Category:** Kibana\
**Tags:** data-views\
**Created:** [November 9, 2023, 10:08am UTC](https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773 "2023-11-09T10:08:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mathur7vidit](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mathur7vidit](https://discuss.elastic.co/u/mathur7vidit)\
**Post date:** [November 9, 2023, 10:08am UTC](https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773/1 "2023-11-09T10:08:05Z")

</div>

Hi All,

I am getting 1 field which basically is going to showcase service now ticket no. now i want to map that field as a URL and i am trying to achieve it using URL template in that field. however, its not working at all and seems like a bug in 8.5.2 version. I am uploading below snap for your reference and the 2 issues which i observed.

1. the value should be picked up as Test but its not picking that up and showcasing it as {{value only}}
2. when the url is clicked, it lands up to kibana url only despite being different at all.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8392bbbeb3dcea318921cec7b4fd45c74944e93.png)

how can it be sorted ?

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [November 23, 2023, 12:31pm UTC](https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773/2 "2023-11-23T12:31:24Z")

</div>

I've tested it in our cloud and it works as expected, in 8.5.2, and in our most recent version, maybe there's something wrong with the URL string, take a close look, in the samples it seems to be {-{value}}

---

<div class="post-metadata">

**Author:** ![mathur7vidit](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mathur7vidit](https://discuss.elastic.co/u/mathur7vidit)\
**Post date:** [November 26, 2023, 12:20pm UTC](https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773/3 "2023-11-26T12:20:57Z")

</div>

Hi Matthias.  
thanks for your reply. so the weird thing is that i am placing it correctly, but it is working when i am trying it {, then { and then value and then } }. its totally weird but yes, the moment i am doing it any other way, it was not working.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [November 29, 2023, 3:09pm UTC](https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773/4 "2023-11-29T15:09:26Z")

</div>

Hi  
So is it working now with the suggested change? like `{{`  
Thx

---

<div class="post-metadata">

**Author:** ![mathur7vidit](https://avatars.discourse-cdn.com/v4/letter/m/d07c76/32.png) [@mathur7vidit](https://discuss.elastic.co/u/mathur7vidit)\
**Post date:** [November 29, 2023, 5:32pm UTC](https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773/5 "2023-11-29T17:32:22Z")

</div>

Hi Matthias,

what i initially tried was correct only. but when i am pasting {{value}} as a whole, it was not working. for some weird reason i had to type it one by one and then it worked..

and that - which you are highlighting, that's not placed by me, if you see URL template in my snap, its correctly placed.

---

<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:** [December 27, 2023, 5:32pm UTC](https://discuss.elastic.co/t/url-template-in-data-view-now-working/346773/6 "2023-12-27T17:32:35Z")

</div>

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