# Kibana4 scripted field array access

**URL:** <https://discuss.elastic.co/t/kibana4-scripted-field-array-access/2275>\
**Category:** Kibana\
**Created:** [June 10, 2015, 7:23am UTC](https://discuss.elastic.co/t/kibana4-scripted-field-array-access/2275 "2015-06-10T07:23:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tbragin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tbragin/32/45166_2.png) [@tbragin](https://discuss.elastic.co/u/tbragin)\
**Post date:** [June 17, 2015, 5:08am UTC](https://discuss.elastic.co/t/kibana4-scripted-field-array-access/2275/2 "2015-06-17T05:08:21Z")

</div>

By default Kibana 4 scripted fields use [Lucene expressions](http://lucene.apache.org/core/4_9_0/expressions/index.html?org/apache/lucene/expressions/js/package-summary.html), which currently only operate on numeric fields.

You can turn on static Groovy scripts, which have more advanced scripting functionality (note dynamic Groovy scripts are no longer recommended) -- for more discussion on how to do that in Kibana 4 please see [this thread](https://discuss.elastic.co/t/calling-groovy-script-from-kibana/2542/3).

---

_[View the full topic](https://discuss.elastic.co/t/kibana4-scripted-field-array-access/2275)._
