# Create scripted field only showing expression or groovy as options

**URL:** https://discuss.elastic.co/t/create-scripted-field-only-showing-expression-or-groovy-as-options/105880
**Category:** Kibana
**Created:** [October 31, 2017, 12:12pm UTC](https://discuss.elastic.co/t/create-scripted-field-only-showing-expression-or-groovy-as-options/105880 "2017-10-31T12:12:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Frances\_Buontempo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frances_buontempo/32/16050_2.png) [@Frances\_Buontempo](https://discuss.elastic.co/u/Frances_Buontempo)
#### Post date: [October 31, 2017, 12:12pm UTC](https://discuss.elastic.co/t/create-scripted-field-only-showing-expression-or-groovy-as-options/105880/1 "2017-10-31T12:12:16Z")

</div>

If I go to make a scripted field in kibanan (5.2) I'm only seeinf groovy or expression as the Language.  
I wanted to use painless.

I've tried putting  
script.engine.painless.inline: on  
in my elasticsearch config, but it hasn't made a difference.

---

<div class="post-metadata">

### Author: ![a5a](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@a5a](https://discuss.elastic.co/u/a5a)
#### Post date: [October 31, 2017, 3:47pm UTC](https://discuss.elastic.co/t/create-scripted-field-only-showing-expression-or-groovy-as-options/105880/2 "2017-10-31T15:47:48Z")

</div>

Hi Frances,

Can you try changing `on` to `true` and restarting the cluster? I don't believe we coerce `on` to a boolean.

archana (a5a)

---

<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: [November 28, 2017, 3:47pm UTC](https://discuss.elastic.co/t/create-scripted-field-only-showing-expression-or-groovy-as-options/105880/3 "2017-11-28T15:47:49Z")

</div>

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