# Scripted Field

**URL:** <https://discuss.elastic.co/t/scripted-field/244171>\
**Category:** Kibana\
**Created:** [August 7, 2020, 12:05pm UTC](https://discuss.elastic.co/t/scripted-field/244171 "2020-08-07T12:05:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hiba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hiba/32/110919_2.png) [@hiba](https://discuss.elastic.co/u/hiba)\
**Post date:** [August 7, 2020, 12:05pm UTC](https://discuss.elastic.co/t/scripted-field/244171/1 "2020-08-07T12:05:46Z")

</div>

Hi,

i use kibana 7.7.0

i create a scripted field (name: ADR) , then i create a line visualization ,

whose x-axis date and y-axis the avg of (ADR).

the problem is whene i add this visualization in the my dashboard i get this error.

 ![Annotation 2020-08-07 130456](https://us1.discourse-cdn.com/elastic/original/3X/8/b/8b58ac7f149af7f75375069f3febd521de4d5462.jpeg)

any help please !

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 12, 2020, 4:41pm UTC](https://discuss.elastic.co/t/scripted-field/244171/2 "2020-08-12T16:41:27Z")

</div>

Can you verify that the scripted field still exists for the index pattern? Open up the index pattern in management.

---

<div class="post-metadata">

**Author:** ![hiba](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hiba/32/110919_2.png) [@hiba](https://discuss.elastic.co/u/hiba)\
**Post date:** [August 13, 2020, 9:17am UTC](https://discuss.elastic.co/t/scripted-field/244171/3 "2020-08-13T09:17:18Z")

</div>

Hi,  
yes i found it in the index

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [August 13, 2020, 12:00pm UTC](https://discuss.elastic.co/t/scripted-field/244171/4 "2020-08-13T12:00:15Z")

</div>

Does the same thing happen if you create other visualizations with the field?

---

<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:** [September 10, 2020, 12:00pm UTC](https://discuss.elastic.co/t/scripted-field/244171/5 "2020-09-10T12:00:20Z")

</div>

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