# Kibana deprecated scripted fields

**URL:** <https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657>\
**Category:** Kibana\
**Created:** [February 3, 2023, 2:13pm UTC](https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657 "2023-02-03T14:13:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![YvorL](https://avatars.discourse-cdn.com/v4/letter/y/9fc348/32.png) [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Post date:** [February 3, 2023, 2:13pm UTC](https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657/1 "2023-02-03T14:13:18Z")

</div>

Hi,  
My current setup uses scripted fields for the node name in the Metricbeat index. The goal is to be able to open a specific monitoring dashboard for that VM. As I see, this was deprecated from 7.13, but I'm not sure if there's a way to achieve the same after 8.0 (specifically 8.6).

Can I set up anything in Kibana 8.X to be able to click on a node's hostname and open up a specific dashboard that already filters for that node?  
Thank you!

---

<div class="post-metadata">

**Author:** ![BenB196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benb196/32/83401_2.png) [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Post date:** [February 5, 2023, 4:54pm UTC](https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657/2 "2023-02-05T16:54:18Z")

</div>

Have you taken a look at [runtime fields](https://www.elastic.co/guide/en/elasticsearch/reference/current/runtime.html)? This I believe is the intended replacement for scripted fields.

---

<div class="post-metadata">

**Author:** ![YvorL](https://avatars.discourse-cdn.com/v4/letter/y/9fc348/32.png) [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Post date:** [February 6, 2023, 9:22am UTC](https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657/3 "2023-02-06T09:22:59Z")

</div>

Yes, but as far as I got in the docs, I didn't see any mention of URL links that are only for the sake of Kibana navigation.

---

<div class="post-metadata">

**Author:** ![BenB196](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/benb196/32/83401_2.png) [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Post date:** [February 7, 2023, 1:22pm UTC](https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657/4 "2023-02-07T13:22:54Z")

</div>

When adding a runtime field, you should be able to select the format of the field. If the field you're adding is a keyword, you should be able to select the URL format:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/1/418108fc455e1f4af5b0f224f3ef35fa7610f534.png)

---

<div class="post-metadata">

**Author:** ![YvorL](https://avatars.discourse-cdn.com/v4/letter/y/9fc348/32.png) [@YvorL](https://discuss.elastic.co/u/YvorL)\
**Post date:** [February 8, 2023, 1:33pm UTC](https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657/5 "2023-02-08T13:33:16Z")

</div>

Thank you!  
As I'm upgrading from 7.9, I'll need to check this when I first upgraded to 7.17.

---

<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:** [March 8, 2023, 1:33pm UTC](https://discuss.elastic.co/t/kibana-deprecated-scripted-fields/324657/6 "2023-03-08T13:33:25Z")

</div>

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