Geopoint generation

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.

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

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