【问题标题】:geo_ip kibana index and logstash filtergeo_ip kibana 索引和 logstash 过滤器
【发布时间】:2020-05-11 13:44:22
【问题描述】:

我用这个过滤器创建了一个logstash服务器

https://www.elastic.co/guide/en/logstash/6.7/logstash-config-for-filebeat-modules.html#parsing-apache2

但我的问题是 kibana 地图没有显示任何内容。 这就是我的 kibana 索引模式中的内容

你知道我错过了什么吗?谢谢

【问题讨论】:

  • apache.access.geoip.ip 作为string 不好(应该是ip)。您可以将索引映射添加到您的问题中吗?
  • 有没有办法改变索引?如何获取索引映射?
  • 进入开发工具并输入GET your-index-name/_mapping
  • 您是否运行setup command in your Filebeat 来设置索引?
  • 是否需要特定的属性,因为有很多:

标签: elasticsearch logstash kibana filebeat elk


【解决方案1】:

谢谢@Val 我执行了这 3 个命令并且它起作用了:

sudo filebeat setup --template -E output.logstash.enabled=false -E 'output.elasticsearch.hosts=["localhost:9200"]'

Output
Loaded index template

sudo filebeat setup -e -E output.logstash.enabled=false -E output.elasticsearch.hosts=['localhost:9200'] -E setup.kibana.host=localhost:5601

sudo systemctl restart filebeat

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2017-06-03
    • 1970-01-01
    • 1970-01-01
    • 2022-01-06
    • 1970-01-01
    • 2021-01-16
    • 1970-01-01
    相关资源
    最近更新 更多