I have two float fields: valueLatitude and valueLongitude and try to send them to elasticsearch as geoip.location. In logstash configuration I have this:
mutate {
add_field => [ "[location]", "%{valueLongitude}" ]
add_field => [ "[location]", "%{valueLatitude}" ]
}
mutate {
rename => [ "[location]", "[geoip][location]" ]
remove_field => [ "valueLatitude", "valueLongitude" ]
}
It worked before 5.0 without problems. Now I get a strange error:
illegal latitude value [268.52273331955075] for geoip.location.
The strange fact is that the latitude from the log file is: 47.279341
Did the format was changed?