# Scripted fields

**URL:** <https://discuss.elastic.co/t/scripted-fields/115978>\
**Category:** Kibana\
**Created:** [January 18, 2018, 6:46am UTC](https://discuss.elastic.co/t/scripted-fields/115978 "2018-01-18T06:46:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerrychen](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jerrychen](https://discuss.elastic.co/u/jerrychen)\
**Post date:** [January 18, 2018, 6:46am UTC](https://discuss.elastic.co/t/scripted-fields/115978/1 "2018-01-18T06:46:47Z")

</div>

env: kibana5.4,es5.4  
Do the scripted field have life time？After few days，i have to recreate it.

---

<div class="post-metadata">

**Author:** ![lukas](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukas/32/6812_2.png) [@lukas](https://discuss.elastic.co/u/lukas)\
**Post date:** [January 18, 2018, 6:14pm UTC](https://discuss.elastic.co/t/scripted-fields/115978/2 "2018-01-18T18:14:52Z")

</div>

No, you shouldn't have to recreate the scripted fields. Do you ever delete the index pattern entirely? Or delete your .kibana index?

---

<div class="post-metadata">

**Author:** ![jerrychen](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jerrychen](https://discuss.elastic.co/u/jerrychen)\
**Post date:** [January 19, 2018, 6:41am UTC](https://discuss.elastic.co/t/scripted-fields/115978/3 "2018-01-19T06:41:47Z")

</div>

No,I don't delete any index in kibana

---

<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 16, 2018, 6:42am UTC](https://discuss.elastic.co/t/scripted-fields/115978/4 "2018-02-16T06:42:10Z")

</div>

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