# ElasticsearchParseException: geo\_point expected - ES 5.4.1

**URL:** <https://discuss.elastic.co/t/elasticsearchparseexception-geo-point-expected-es-5-4-1/122855>\
**Category:** Elasticsearch\
**Created:** [March 7, 2018, 9:47am UTC](https://discuss.elastic.co/t/elasticsearchparseexception-geo-point-expected-es-5-4-1/122855 "2018-03-07T09:47:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)\
**Post date:** [March 7, 2018, 9:47am UTC](https://discuss.elastic.co/t/elasticsearchparseexception-geo-point-expected-es-5-4-1/122855/1 "2018-03-07T09:47:23Z")

</div>

**I am getting mapping exception in ES:**

[2018-03-07T11:32:38,326][DEBUG][o.e.a.b.TransportShardBulkAction] [valuepack] [logstash2017.07.27omniclient-vpelastic][0] failed to execute bulk item (i  
ndex) BulkShardRequest [[logstash2017.07.27omniclient-vpelastic][0]] containing [86] requests  
org.elasticsearch.index.mapper.MapperParsingException: failed to parse  
at org.elasticsearch.index.mapper.DocumentParser.wrapInMapperParsingException(DocumentParser.java:176) ~[elasticsearch-5.4.1.jar:5.4.1]  
at org.elasticsearch.index.mapper.DocumentParser.parseDocument(DocumentParser.java:69) ~[elasticsearch-5.4.1.jar:5.4.1]  
....  
.....  
.....  
Caused by: org.elasticsearch.ElasticsearchParseException: `geo_point expected`  
at org.elasticsearch.common.geo.GeoUtils.parseGeoPoint(GeoUtils.java:465) ~[elasticsearch-5.4.1.jar:5.4.1]  
at org.elasticsearch.index.mapper.BaseGeoPointFieldMapper.parse(BaseGeoPointFieldMapper.java:581) ~[elasticsearch-5.4.1.jar:5.4.1]  
at org.elasticsearch.index.mapper.DocumentParser.parseObjectOrField(DocumentParser.java:450) ~[elasticsearch-5.4.1.jar:5.4.1]

**The mapping:**

PUT \_template/omniclient\_template  
{  
"template": "logstash_omniclient_",  
"settings": {  
"number\_of\_shards": 1  
},  
"mappings": {  
"geo\_point\_type": {  
"properties": {  
"@version":{"type": "keyword", "index": true},  
"page":{"type": "keyword", "index": true},  
"loadbalancerip":{"type": "ip"},  
"clientrealip": {"type": "ip"},  
"clientnattedip":{"type": "ip"},  
"Timestamp":{"type": "date", "format": "yyyy-MM-dd HH:mm:ss.SSS"},  
"geoip" : { "type" : "object",  
"dynamic": true,  
"properties" : {  
"ip": { "type": "ip" },  
"location" : { "type" : "geo\_point" },  
"latitude" : { "type" : "float" },  
"longitude" : { "type" : "float" }  
}  
}  
}  
}  
}  
}

**The Logstash output:**

"geoip" =\> {  
"timezone" =\> "America/New\_York",  
"ip" =\> "73.106.71.62",  
"latitude" =\> 33.7844,  
"continent\_code" =\> "NA",  
"city\_name" =\> "Stone Mountain",  
"country\_code2" =\> "US",  
"country\_name" =\> "United States",  
"dma\_code" =\> 524,  
"country\_code3" =\> "US",  
"region\_name" =\> "Georgia",  
"location" =\> [  
[0] -84.2135,  
[1] 33.7844  
],  
"postal\_code" =\> "30083",  
"longitude" =\> -84.2135,  
"region\_code" =\> "GA"  
},

Any idea?

Thanks  
Sharon.

---

<div class="post-metadata">

**Author:** ![ssasporta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ssasporta/32/13695_2.png) [@ssasporta](https://discuss.elastic.co/u/ssasporta)\
**Post date:** [March 8, 2018, 8:04am UTC](https://discuss.elastic.co/t/elasticsearchparseexception-geo-point-expected-es-5-4-1/122855/2 "2018-03-08T08:04:05Z")

</div>

Hi,

Can someone try to help me here?

I can add more info if necessary.

Thanks  
Sharon.

---

<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:** [April 5, 2018, 8:04am UTC](https://discuss.elastic.co/t/elasticsearchparseexception-geo-point-expected-es-5-4-1/122855/3 "2018-04-05T08:04:07Z")

</div>

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