We are trying to load the webserver logs to ElasticSearch version: 2.1.1. where we have created proper template and able to index data.
However, we are having issue with the latitude value which are above [-90.0] for geoip.location.
Mapping is:
:
"geoip": {
:
"location": {
"doc_values": true,
"type": "geo_point"
},
:
}
Sample:
curl -XPOST "localhost:9204/server_access_log_2016.01.26/data?ignore_conflicts=true" -d '{"geoip":{"ip":"127.0.0.1","country_code2":"US","region_name":"NA","city_name":"NA","postal_code":"0","latitude":"38.0","longitude":"-97.0","dma_code":"0","area_code":"0","timezone":"NA","real_region_name":"NA","location":"-97.0,38.0","coordinates":"-97.0,38.0"}}'
Error:
type:"illegal_argument_exception" reason:"illegal latitude value [-97.0] for geoip.location"}}