# Script in Create Scripted Field form

**URL:** <https://discuss.elastic.co/t/script-in-create-scripted-field-form/59974>\
**Category:** Kibana\
**Created:** [September 7, 2016, 11:15am UTC](https://discuss.elastic.co/t/script-in-create-scripted-field-form/59974 "2016-09-07T11:15:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [September 7, 2016, 7:00pm UTC](https://discuss.elastic.co/t/script-in-create-scripted-field-form/59974/2 "2016-09-07T19:00:36Z")

</div>

Hi Ilia, I'm not very familiar with scripted fields, but I found a previous thread which looks like it may be useful to you.

In this thread, the user was able to enable groovy scripts on Elasticsearch, create a scripted field, and then manually override the scripted field inside of the visualization by editing the aggregation bucket under the "Advanced" toggle: [Kibana Groovy Scripted Field for Aggregation: Visualize: Unsupported script value](https://discuss.elastic.co/t/kibana-groovy-scripted-field-for-aggregation-visualize-unsupported-script-value/54126)

Hope this helps,  
CJ

---

_[View the full topic](https://discuss.elastic.co/t/script-in-create-scripted-field-form/59974)._
