input {
beats {
port => 7467
}
}
filter {
geoip {
source => "dest.ip"
target => "dest.ip_location"
database => "/opt/geoip/GeoLite2-City.mmdb" (ive tried with this and with the default that comes with logstash.
add_field => [ "[geoip][coordinates]", "%{[geoip][longitude]}" ]
add_field => [ "[geoip][coordinates]", "%{[geoip][latitude]}" ]
}
mutate {
convert => [ "[geoip][coordinates]", "float"]
}
}
This is all on 5.0 ELK