# \[illegal\_argument\_exception\] \[geohash\_grid\] unknown field \[script\], parser not found

**URL:** <https://discuss.elastic.co/t/illegal-argument-exception-geohash-grid-unknown-field-script-parser-not-found/94179>\
**Category:** Elasticsearch\
**Created:** [July 22, 2017, 1:10am UTC](https://discuss.elastic.co/t/illegal-argument-exception-geohash-grid-unknown-field-script-parser-not-found/94179 "2017-07-22T01:10:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![austinyu0922](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@austinyu0922](https://discuss.elastic.co/u/austinyu0922)\
**Post date:** [July 22, 2017, 1:10am UTC](https://discuss.elastic.co/t/illegal-argument-exception-geohash-grid-unknown-field-script-parser-not-found/94179/1 "2017-07-22T01:10:34Z")

</div>

Hi,

I'm trying to create a tile map and my data provides a dstip\_geo.latitude and dstip\_geo.longitude as two separate fields. I created a scripted field called 'geo\_point' and the script that I have currently is....

[doc['dstip\_geo.longitude'].value,doc['dstip\_geo.latitude'].value]

I've set the type as a geo\_point as well but I run into a new error that states....  
Error  
Visualize: [illegal\_argument\_exception] [geohash\_grid] unknown field [script], parser not found

Anyone know what the problem is? Thanks!

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [July 24, 2017, 10:53am UTC](https://discuss.elastic.co/t/illegal-argument-exception-geohash-grid-unknown-field-script-parser-not-found/94179/2 "2017-07-24T10:53:44Z")

</div>

> [@austinyu0922](#):
>
> I created a scripted field called 'geo\_point'

I presume we're talking about Kibana here? The geohash\_grid aggregation [will require a field](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-geohashgrid-aggregation.html#_options_3) indexed with the appropriate geo mapping in the elasticsearch index and does not support scripts.

---

<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:** [August 21, 2017, 10:54am UTC](https://discuss.elastic.co/t/illegal-argument-exception-geohash-grid-unknown-field-script-parser-not-found/94179/3 "2017-08-21T10:54:24Z")

</div>

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