kibana安装

安装Kiabna

Kibana是一个为 ElasticSearch 提供的数据分析的 Web 接口。可使用它对日志进行高效的搜索、可视化、分析等各种操作。

Kiabna的介绍可查考官方的说明:https://www.elastic.co/cn/products/kibana

下载地址为:https://www.elastic.co/cn/downloads/kibana

下载下来,解压如下

file

修改config / kibana.yml文件,加入以下内容:

server.port: 5601  
server.name: "kibana"  
server.host: "127.0.0.1"  
elasticsearch.url: "http://127.0.0.1:9200" 

然后执行bin目录下的kibana.bat启动服务

file

浏览器访问地址:http://127.0.0.1:5601/

file

出现警告

Unable to fetch mapping. Do you have indices matching the pattern?

不管怎么弄,都是提示上面的错误!!!最后在网上找到中说法是,没有往Elasticsearch中插入数据所引起的:

https://discuss.elastic.co/t/unable-to-fetch-mapping-do-you-have-indices-matching-the-pattern/73791/4

https://www.elastic.co/guide/en/kibana/current/tutorial-define-index.html

https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html

在上面的两个网址中找到了解决方法:

在Sense中执行以下数据就可以了

PUT /logstash-2017.08.13
{
  "mappings": {
    "log": {
      "properties": {
        "geo": {
          "properties": {
            "coordinates": {
              "type": "geo_point"
            }
          }
        }
      }
    }
  }
}

然后在返回到kibana首页,就会发现不会出现警告了!!!

file

然后点击"Create"

参考链接原文链接:https://blog.youkuaiyun.com/u011781521/article/details/77139701「公众号:天山云海」欢迎关注和转载,珍惜每一次偶遇

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值