I have logstash setup to convert ip -> geoip. Im getting latitude/longitude coordinates from apache2/filebeat now. What I don't seem to have is whatever is required to create a visualization from this data.
I've read through various posts on this (here and here) but haven't yet found the secret sauce to make kibana happy yet.
Relevant entry from logstash:
geoip {
source => "clientip"
}
mutate {
convert => { "[geoip][longitude]" => "float" }
convert => { "[geoip][latitude]" => "float" }
}
mutate {
rename => {
"[geoip][longitude]" => "[location][lon]"
"[geoip][latitude]" => "[location][lat]"
}
}
So now Im getting [geoip][location][lon]/[lat] in my data with type "float". How do I get this saved (consistentl) as "geoip"?