ssasporta
(Sharon Sasporta)
August 7, 2017, 11:50pm
1
Hi,
Three of my events are missing in Elastic search. I found the following warning in the Logstash log:
[WARN ][logstash.outputs.elasticsearch] Could not index event to Elasticsearch.
In the first event the IP is: 73.112.77.205
The error reason"=>"illegal latitude value [-97.822]
The real latitude is: 40.6221
In the second event the IP is: 98.200.8.132
The error reason"=>"illegal latitude value [-95.4692]
The real latitude is: 29.7419
In the third event the IP is: 73.91.231.150
The error reason"=>"illegal latitude value [-93.902]
The real latitude is: 32.2669
Any idea or direction what to check?
Regards,
Sharon.
ssasporta
(Sharon Sasporta)
August 8, 2017, 12:17am
2
I understand that the latitude and longitude Actually were swap
. Looking on the Logstash output , I see the events are in the right order:
"ip" => "98.200.8.132",
"latitude" => 30.2264,
"continent_code" => "NA",
"city_name" => "Conroe",
"country_code2" => "US",
"country_name" => "United States",
"dma_code" => 618,
"country_code3" => "US",
"region_name" => "Texas",
"location" => [
[0] -95.4692,
[1] 30.2264
],
"postal_code" => "77384",
"longitude" => -95.4692,
"region_code" => "TX"
What is wrong?
Thanks
Sharon
system
(system)
Closed
September 5, 2017, 12:18am
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.