ELK 搭建4

2022-02-11 16:36:30 浏览数 (1)

安装kibana

准确来说,只用解压就可以了

代码语言:javascript复制
[root@h102 ELK]# ls
elasticsearch-2.1.1.rpm  GPG-KEY-elasticsearch  kibana-4.3.1-linux-x64.tar.gz  logstash-2.1.1-1.noarch.rpm
[root@h102 ELK]# tar -zxvf kibana-4.3.1-linux-x64.tar.gz 
kibana-4.3.1-linux-x64/
kibana-4.3.1-linux-x64/bin/
kibana-4.3.1-linux-x64/config/
kibana-4.3.1-linux-x64/installedPlugins/
kibana-4.3.1-linux-x64/LICENSE.txt
kibana-4.3.1-linux-x64/node/
kibana-4.3.1-linux-x64/node_modules/
kibana-4.3.1-linux-x64/optimize/
kibana-4.3.1-linux-x64/package.json
kibana-4.3.1-linux-x64/README.txt
kibana-4.3.1-linux-x64/src/
...
...
kibana-4.3.1-linux-x64/node/bin/node
kibana-4.3.1-linux-x64/node/bin/npm
kibana-4.3.1-linux-x64/config/kibana.yml
kibana-4.3.1-linux-x64/bin/kibana
kibana-4.3.1-linux-x64/bin/kibana.bat
[root@h102 ELK]# ls
elasticsearch-2.1.1.rpm  GPG-KEY-elasticsearch  kibana-4.3.1-linux-x64  kibana-4.3.1-linux-x64.tar.gz  logstash-2.1.1-1.noarch.rpm
[root@h102 ELK]# cd kibana-4.3.1-linux-x64/config/
[root@h102 config]# ls
kibana.yml
[root@h102 config]# grep -v "^#" kibana.yml  | grep -v "^$"
[root@h102 config]# vim kibana.yml 
[root@h102 config]# grep -v "^#" kibana.yml  | grep -v "^$"
elasticsearch.url: "http://localhost:9200"
[root@h102 config]# cd ../bin/
[root@h102 bin]# ls
kibana  kibana.bat
[root@h102 bin]# ./kibana  
  log   [19:56:19.616] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready
  log   [19:56:19.956] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch
  log   [19:56:20.002] [info][status][plugin:kbn_vislib_vis_types] Status changed from uninitialized to green - Ready
  log   [19:56:20.054] [info][status][plugin:markdown_vis] Status changed from uninitialized to green - Ready
  log   [19:56:20.074] [info][status][plugin:metric_vis] Status changed from uninitialized to green - Ready
  log   [19:56:20.137] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready
  log   [19:56:20.163] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready
  log   [19:56:20.179] [info][status][plugin:table_vis] Status changed from uninitialized to green - Ready
  log   [19:56:20.269] [info][listening] Server running at http://0.0.0.0:5601
  log   [19:56:25.445] [info][status][plugin:elasticsearch] Status changed from yellow to yellow - No existing Kibana index found
  log   [19:56:34.094] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready
  log   [19:58:01.906] [error][status][plugin:elasticsearch] Status changed from green to red - Request Timeout after 1500ms
  log   [19:58:04.434] [info][status][plugin:elasticsearch] Status changed from red to green - Kibana index ready
...
...

0 人点赞