# Geopoint generation

**URL:** <https://discuss.elastic.co/t/geopoint-generation/77231>\
**Category:** Logstash\
**Created:** [March 2, 2017, 11:09pm UTC](https://discuss.elastic.co/t/geopoint-generation/77231 "2017-03-02T23:09:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sharon.c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sharon.c/32/16076_2.png) [@sharon.c](https://discuss.elastic.co/u/sharon.c)\
**Post date:** [March 2, 2017, 11:09pm UTC](https://discuss.elastic.co/t/geopoint-generation/77231/1 "2017-03-02T23:09:08Z")

</div>

I am using Logstash 5.1.1, Elasticsearch 5.1  
When I use the geoip feature, in logstash by feeding normal ip adresses, it shows the following warnings continuously.

> 

2T23:04:13.930Z %{host} %{message}], :response=\>{"index"=\>{"\_index"=\>"leads\_2017\_02", "\_type"=\>"log", "\_id"=\>"AVqRREHHPvi4HyPIu0aH", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"illegal latitude value [-117.8535] for geopoint"}}}}}  
23:04:14.058 [[main]\>worker0] WARN logstash.outputs.elasticsearch - Failed action. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"leads\_2017\_02", :\_type=\>"log", :\_routing=\>nil}, 2017-03-02T23:04:13.932Z %{host} %{message}], :response=\>{"index"=\>{"\_index"=\>"leads\_2017\_02", "\_type"=\>"log", "\_id"=\>"AVqRREHHPvi4HyPIu0aO", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"illegal latitude value [107.9] for geopoint"}}}}}  
23:04:14.083 [[main]\>worker1] WARN logstash.outputs.elasticsearch - Failed action. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"leads\_2017\_02", :\_type=\>"log", :\_routing=\>nil}, 2017-03-02T23:04:14.043Z %{host} %{message}], :response=\>{"index"=\>{"\_index"=\>"leads\_2017\_02", "\_type"=\>"log", "\_id"=\>"AVqRREH0A1AygtWERCSn", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"illegal latitude value [118.1481] for geopoint"}}}}}  
23:04:14.083 [[main]\>worker1] WARN logstash.outputs.elasticsearch - Failed action. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"leads\_2017\_02", :\_type=\>"log", :\_routing=\>nil}, 2017-03-02T23:04:14.043Z %{host} %{message}], :response=\>{"index"=\>{"\_index"=\>"leads\_2017\_02", "\_type"=\>"log", "\_id"=\>"AVqRREH0A1AygtWERCSo", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"illegal latitude value [93.5319] for geopoint"}}}}}  
23:04:14.083 [[main]\>worker1] WARN logstash.outputs.elasticsearch - Failed action. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"leads\_2017\_02", :\_type=\>"log", :\_routing=\>nil}, 2017-03-02T23:04:14.043Z %{host} %{message}], :response=\>{"index"=\>{"\_index"=\>"leads\_2017\_02", "\_type"=\>"log", "\_id"=\>"AVqRREH0A1AygtWERCSs", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"illegal latitude value [-90.1535] for geopoint"}}}}}  
23:04:14.083 [[main]\>worker1] WARN logstash.outputs.elasticsearch - Failed action. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"leads\_2017\_02", :\_type=\>"log", :\_routing=\>nil}, 2017-03-02T23:04:14.044Z %{host} %{message}], :response=\>{"index"=\>{"\_index"=\>"leads\_2017\_02", "\_type"=\>"log", "\_id"=\>"AVqRREH0A1AygtWERCSy", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"illegal latitude value [-96.8217] for geopoint"}}}}}  
23:04:14.083 [[main]\>worker1] WARN logstash.outputs.elasticsearch - Failed action. {:status=\>400, :action=\>["index", {:\_id=\>nil, :\_index=\>"leads\_2017\_02", :\_type=\>"log", :\_routing=\>nil}, 2017-03-02T23:04:14.044Z %{host} %{message}], :response=\>{"index"=\>{"\_index"=\>"leads\_2017\_02", "\_type"=\>"log", "\_id"=\>"AVqRREH0A1AygtWERCS1", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"failed to parse", "caused\_by"=\>{"type"=\>"illegal\_argument\_exception", "reason"=\>"illegal latitude value [-118.2133] for geopoint"}}}}}

And the map looks like this: the points are in one line.

 ![](https://us1.discourse-cdn.com/elastic/original/3X/9/5/959c6c114d0c68cc03b3eb885a7899cfeebe8d45.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [March 3, 2017, 4:34am UTC](https://discuss.elastic.co/t/geopoint-generation/77231/2 "2017-03-03T04:34:26Z")

</div>

What does the data look like?  
What does your config look like?

---

<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:** [March 31, 2017, 4:34am UTC](https://discuss.elastic.co/t/geopoint-generation/77231/3 "2017-03-31T04:34:32Z")

</div>

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