# Format field as url

**URL:** <https://discuss.elastic.co/t/format-field-as-url/117199>\
**Category:** Elasticsearch\
**Created:** [January 26, 2018, 1:43pm UTC](https://discuss.elastic.co/t/format-field-as-url/117199 "2018-01-26T13:43:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesusgn90](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jesusgn90/32/26998_2.png) [@jesusgn90](https://discuss.elastic.co/u/jesusgn90)\
**Post date:** [January 26, 2018, 1:43pm UTC](https://discuss.elastic.co/t/format-field-as-url/117199/1 "2018-01-26T13:43:13Z")

</div>

Hi Elastic folks, I already know how to format a string field that in fact is an url as link, to be "clicable" on the discover and it works, ok. But my trouble just now is to set the format when I put my template on Elasticsearch. I were trying without success changing the template and the mapping ... it's possible to set the format of a field through the Elasticsearch API?

Thanks in advance, best regards,  
Jesús

---

<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:** [February 23, 2018, 1:43pm UTC](https://discuss.elastic.co/t/format-field-as-url/117199/2 "2018-02-23T13:43:18Z")

</div>

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