# Scripted Field Disappearing when refreshed

**URL:** <https://discuss.elastic.co/t/scripted-field-disappearing-when-refreshed/172018>\
**Category:** Kibana\
**Created:** [March 12, 2019, 5:44pm UTC](https://discuss.elastic.co/t/scripted-field-disappearing-when-refreshed/172018 "2019-03-12T17:44:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meredith](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Meredith](https://discuss.elastic.co/u/Meredith)\
**Post date:** [March 12, 2019, 5:44pm UTC](https://discuss.elastic.co/t/scripted-field-disappearing-when-refreshed/172018/1 "2019-03-12T17:44:16Z")

</div>

I created a scripted field and used it to create a new visualization and new dashboard. It appears at first, but if I refresh the browser, the values no longer appear. The name is still there, but with no values in the dashboard. I saw this was a common problem, but there did not appear to be an apparent solution in any of the threads. How can I fix this?

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [March 12, 2019, 7:31pm UTC](https://discuss.elastic.co/t/scripted-field-disappearing-when-refreshed/172018/2 "2019-03-12T19:31:24Z")

</div>

Hi Meredith, what version of Kibana are you using? We had a bug around index pattern settings (including scripted fields) disappearing with concurrent users/tabs that was [fixed in 6.4](https://github.com/elastic/kibana/pull/18937).

If your issue is what I think it is, please close all open Kibana windows or tabs (including those in use by other team members, if any). Open a new Kibana tab, and add the scripted field in Index Pattern. Refresh the page and verify that the scripted field still exists in Index Pattern. Opening new tabs of Kibana should then have the field as well.

---

<div class="post-metadata">

**Author:** ![Meredith](https://avatars.discourse-cdn.com/v4/letter/m/43a26b/32.png) [@Meredith](https://discuss.elastic.co/u/Meredith)\
**Post date:** [March 12, 2019, 8:14pm UTC](https://discuss.elastic.co/t/scripted-field-disappearing-when-refreshed/172018/3 "2019-03-12T20:14:56Z")

</div>

Hi Jen,  
I have Version: 6.3.1. Do I need to upgrade then in order to proceed? Thanks!

---

<div class="post-metadata">

**Author:** ![jen-huang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jen-huang/32/74327_2.png) [@jen-huang](https://discuss.elastic.co/u/jen-huang)\
**Post date:** [March 12, 2019, 8:21pm UTC](https://discuss.elastic.co/t/scripted-field-disappearing-when-refreshed/172018/4 "2019-03-12T20:21:47Z")

</div>

Upgrading would definitely be preferred instead of having to do the workaround above every time 🙂

---

<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:** [April 9, 2019, 8:21pm UTC](https://discuss.elastic.co/t/scripted-field-disappearing-when-refreshed/172018/5 "2019-04-09T20:21:51Z")

</div>

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