centos7-elk之安装kibana

下载解压安装包:

安装elasticsearch6.0.1之后

下载kibana6.0.1 tar包

存放地址:/opt/elk

解压tar包:tar -zxvf kibana6.0.1   

修改配置文件:

vim /opt/elk/kibana6.0.1/config/kibana.yml

server.port: 5601                   #kibana的端口

server.host: "192.168.16.18"      #访问kibana的ip地址

elasticsearch.url: http://192.168.16.18:9200  #elasticsearch的ip地址

kibana.index: ".kibana"             #索引

启动:

#修改kibana权限

[root@elk ~]#chown -R elk.elk /opt/elk/kibana6.0.1 

[root@elk ~]# su – elk

[elk@localhost root]$sh /opt/elk/kibana6.0.1/bin/kibana

 如果执行完这个脚本,中途没有退出,说明启动成功

  log   [07:14:32.070] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [07:14:32.181] [info][status][plugin:[email protected]] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [07:14:32.211] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [07:14:32.233] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready
  log   [07:14:32.874] [info][status][plugin:[email protected]] Status changed from uninitialized to green - Ready

web页面登录kibana:

http://192.168.16.18:5601/

centos7-elk之安装kibana_第1张图片
 

 

你可能感兴趣的:(elk)