我一直在努力让Geo过滤器工作在原木上。还没有运气。
我一直在ES中重新创建我的Logstash,用默认类型重新创建GeoIP字段,double和float,但是Kibana一直抱怨我的geoip.location属性有冲突。
如有任何建议,将不胜感激。
geoip {
source => "[headers][x-forwarded-for]"
target => "geoip"
database => "/etc/logstash/GeoLiteCity.dat"
add_field => [ "[geoip][coordinates]", "%{[geoip][longitude]}" ]
add_field => [ "[geoip][coordinates]", "%{[geoip][latitude]}" ]
}
mutate {
convert => [ "[geoip][coordinates]", "float"]
}发布于 2015-06-27 18:04:18
通过指定默认映射模板解决了这个问题,重新创建索引现在具有geoip.location的"geo_point“数据类型。
https://stackoverflow.com/questions/31084021
复制相似问题