# Multiple URL links in one field

**URL:** <https://discuss.elastic.co/t/multiple-url-links-in-one-field/319965>\
**Category:** Kibana\
**Created:** [November 28, 2022, 4:45pm UTC](https://discuss.elastic.co/t/multiple-url-links-in-one-field/319965 "2022-11-28T16:45:33Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harold\_Van\_der\_Veken](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harold_van_der_veken/32/113858_2.png) [@Harold\_Van\_der\_Veken](https://discuss.elastic.co/u/Harold_Van_der_Veken)\
**Post date:** [November 28, 2022, 4:45pm UTC](https://discuss.elastic.co/t/multiple-url-links-in-one-field/319965/1 "2022-11-28T16:45:33Z")

</div>

Is there a way to create a field that has more than 1 link to another resource. Can I create (and format) a string that holds 2 urls. E.g. `"Goto <this url> or <another url>"`

`<this url> can be selected to open the url.`  
`<another url> can be selected to open another url.`

At this moment I can only create a runtime script that will be URL formatted to link to 1 page.

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [November 28, 2022, 11:38pm UTC](https://discuss.elastic.co/t/multiple-url-links-in-one-field/319965/2 "2022-11-28T23:38:16Z")

</div>

@mattkime afaik we can't. Do you have any inputs?

Thanks.  
Bhavya

---

<div class="post-metadata">

**Author:** ![mattkime](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mattkime/32/43522_2.png) [@mattkime](https://discuss.elastic.co/u/mattkime)\
**Post date:** [November 29, 2022, 3:00am UTC](https://discuss.elastic.co/t/multiple-url-links-in-one-field/319965/3 "2022-11-29T03:00:08Z")

</div>

I'd use the Url formatter to turn a value into a url - [Manage data views | Kibana Guide [master] | Elastic](https://www.elastic.co/guide/en/kibana/master/managing-data-views.html#string-field-formatters)

If you need to do that more than once, I'd use a field alias or runtime field to duplicate the value of a field. A field alias will be a bit more efficient.

---

<div class="post-metadata">

**Author:** ![Harold\_Van\_der\_Veken](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harold_van_der_veken/32/113858_2.png) [@Harold\_Van\_der\_Veken](https://discuss.elastic.co/u/Harold_Van_der_Veken)\
**Post date:** [November 29, 2022, 9:15am UTC](https://discuss.elastic.co/t/multiple-url-links-in-one-field/319965/4 "2022-11-29T09:15:00Z")

</div>

Maybe it is important to mention that I would like to use that field in a table view. So there would be a column in the table that shows a string in which there are 2 words with hyperlinks to other pages.

I will try the enhanced table plugin.

> **[GitHub - fbaligand/kibana-enhanced-table: Kibana visualization like a Data...](https://github.com/fbaligand/kibana-enhanced-table)**
>
> Kibana visualization like a Data Table, but with enhanced features like computed columns, filter bar, and “Split Cols” bucket - GitHub - fbaligand/kibana-enhanced-table: Kibana visualization like a...

The documentation mentions this feature:

- Template can encode a value to render it as a URL parameter (ex: `<a href="my-dashboard?param={{{encodeURIComponent value}}}">{{value}}</a>`)

---

<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, 2022, 9:15am UTC](https://discuss.elastic.co/t/multiple-url-links-in-one-field/319965/5 "2022-12-27T09:15:56Z")

</div>

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