zoukankan      html  css  js  c++  java
  • ELK教程2:Kibana的安装

    kibana作为ElastciSearch的数据查询展示界面,集成了很多的功能,本文主要讲述如下部署kibana。

    安装

    安装命令如下:

    # 下载kibana的npm
    wget https://artifacts.elastic.co/downloads/kibana/kibana-7.2.0-x86_64.rpm
    # 检查版本
    shasum -a 512 kibana-7.2.0-x86_64.rpm 
    # 安装
    sudo rpm --install kibana-7.2.0-x86_64.rpm

    kibana的配置

    kibana的配置和目录如下表所示:

    配置类型                                    描述                          路径
    home                 Kibana 的home目录                          /usr/share/kibana
    bin                         Kibana 的bin目录                          /usr/share/kibana/bin
    config                  Kibana 的配置目录                          /etc/kibana
    data                    Kibana 的data目录                          /var/lib/kibana
    plugins           Kibana 的plugins目录                          /usr/share/kibana/plugins

    需要配置ElasticSearch的地址,配置文件在/etc/kibana/kibana.yml 。
    在kibana.yml文件需要配置配置的选项如下:

    server.host: "0.0.0.0"
    elasticsearch.hosts: ["http://10.0.0.5:9200","http://10.0.13:9200","http://10.0.0.17:9200"]

    配置完成后,需要重新启动kibana,执行如下的命令:

    sudo systemctl stop kibana.service
    sudo systemctl start kibana.service

    启动完成后,在浏览器上访问:http://localhost:5601,首页显示如下:

    依次点击Discovery->Elasticsearch 下面的Index Management,显示的界面如下:

    其中有一个customer的索引,读者无需关注。

    参考资料

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

    转载请标明出处:
    http://blog.csdn.net/forezp/article/details/98322359
    本文出自方志朋的博客

  • 相关阅读:
    多屏共享
    md5-linux_shell
    2017年会所得
    linux无线网络配置_转
    (转)台式机华硕主板双显卡切换,怎么舒服怎么来
    Apache FtpServer 实现文件的上传和下载
    (转载)Windows 上搭建Apache FtpServer
    Eclipse常用设置
    博客园文章样式修改
    黑马公社学习
  • 原文地址:https://www.cnblogs.com/xikui/p/11792751.html
Copyright © 2011-2022 走看看