安装kibana

下载kibana
# wget https://artifacts.elastic.co/downloads/kibana/kibana-8.3.2-x86_64.rpm

安装
# rpm -ivh kibana-8.3.2-x86_64.rpm

编辑配置文件
# vim /etc/kibana/kibana.yml 
# cat /etc/kibana/kibana.yml | grep -v '#' | grep -v '^$'
server.port: 5601
server.host: "10.0.0.17"
elasticsearch.hosts: ["http://10.0.0.3:9200", "http://10.0.0.5:9200", "http://10.0.0.14:9200"]
logging:
  appenders:
    file:
      type: file
      fileName: /var/log/kibana/kibana.log
      layout:
        type: json
  root:
    appenders:
      - default
      - file
pid.file: /run/kibana/kibana.pid
i18n.locale: "zh-CN"

启动服务
# systemctl restart kibana

查看端口
# netstat -tunlp | grep 5601

用浏览器直接访问kibana

 

posted @ 2022-07-29 11:14  Maniana  阅读(101)  评论(0编辑  收藏  举报