当前位置: 代码迷 >> 综合 >> logstash解析apache log画visualize报错:pattern does not contain any of the following field types:geo_point
  详细解决方案

logstash解析apache log画visualize报错:pattern does not contain any of the following field types:geo_point

热度:76   发布时间:2023-12-16 01:43:28.0

在使用logstash解析apache log时,在kibana的visualize中根据ip展示在地图上,logstash中使用grok插件解析apache log,并使用geoip匹配ip,但是在创建visualize时报如下错误,无法选中geo.location这个field。

No Compatible Fields:The “xxxxx” index pattern does not contain any of the following field types:geo_point.

解决方法:

output到elasticsearch的index必须是以"logstash-"开头的,修改后问题就解决了。

  相关解决方案