# Creating visualisation from groovy scripted field

**URL:** <https://discuss.elastic.co/t/creating-visualisation-from-groovy-scripted-field/51886>\
**Category:** Kibana\
**Created:** [June 5, 2016, 9:07pm UTC](https://discuss.elastic.co/t/creating-visualisation-from-groovy-scripted-field/51886 "2016-06-05T21:07:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![EricK](https://avatars.discourse-cdn.com/v4/letter/e/bbce88/32.png) [@EricK](https://discuss.elastic.co/u/EricK)\
**Post date:** [June 5, 2016, 9:07pm UTC](https://discuss.elastic.co/t/creating-visualisation-from-groovy-scripted-field/51886/1 "2016-06-05T21:07:22Z")

</div>

I have created a groovy scripted field, which is a geo\_point. I would like to use this field in a tile map but I'm not sure how.

First how do i get this field listed in the Geo coordinates field? I have added the field to the mapping.

Can i add a groovy scripted (indexed, inline or file) field under Kibana scripted fields as below? Getting compilation errors, might be missing key fields

![](https://us1.discourse-cdn.com/elastic/original/2X/6/64042f44aede5b5fdaa2be9a5f23ace282e9a527.png)

Any help would be much appreciated.

Eric

---

<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:** [July 6, 2017, 1:51pm UTC](https://discuss.elastic.co/t/creating-visualisation-from-groovy-scripted-field/51886/2 "2017-07-06T13:51:34Z")

</div>

Closed on July 6, 2017, 1:51pm UTC


