I am recieving json that contains Latitude and Longitude, in the message they look like this:
"Latitude": -37.000000, "Longitude": 145.000000
In the output they look like this:
"Latitude" => -37.0, "Longitude" => 145.0
Why are the trailling zero's getting removed?
So far its a very simple pipeline without any filters but I would expect these lat/long values to look the same as they do in the message.
input {
tcp {
port => 6001
type => syslog
codec => json
}
}
filter {
}
output {
stdout { codec => rubydebug }
}