[illegal_argument_exception] [geohash_grid] unknown field [script], parser not found

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!

I presume we're talking about Kibana here? The geohash_grid aggregation will require a field indexed with the appropriate geo mapping in the elasticsearch index and does not support scripts.