官网地址:https://www.elastic.co/cn/
Linux安装
地址:https://www.elastic.co/cn/downloads/past-releases/kibana-6-7-2
Kibana配置文件参考:https://www.elastic.co/guide/en/kibana/5.x/settings.html
Kibana是ElasticSearch的可视化平台,依赖ElasticSearch,需要优先安装ElasticSearch。
步骤一:修改配置文件(注意ip不能为localhost)
代码语言:javascript复制server.port: 5601
server.host: "0.0.0.0"
elasticsearch.hosts: ["http://10.1.34.104:9200"]
elasticsearch.username: "demo_user"
elasticsearch.password: "demo_user"
elasticsearch.requestTimeout: 30000
步骤二:启动Kibana
代码语言:javascript复制[dev@lihuan1-dev.bj1.haodf.net bin]$ sudo sh kibana
备注:后台启动
[dev@search2.es.test.bj1 bin]$ nohup sh kibana &
[1] 6110
代码语言:javascript复制log [07:52:14.157] [info][status][plugin:kibana@6.7.2] Status changed from uninitialized to green - Ready
log [07:52:14.215] [info][status][plugin:elasticsearch@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.218] [info][status][plugin:xpack_main@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.228] [info][status][plugin:graph@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.243] [info][status][plugin:monitoring@6.7.2] Status changed from uninitialized to green - Ready
log [07:52:14.249] [info][status][plugin:spaces@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.260] [warning][security] Generating a random key for xpack.security.encryptionKey. To prevent sessions from being invalidated on restart, please set xpack.security.encryptionKey in kibana.yml
log [07:52:14.267] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended.
log [07:52:14.283] [info][status][plugin:security@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.307] [info][status][plugin:searchprofiler@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.310] [info][status][plugin:ml@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.385] [info][status][plugin:tilemap@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.387] [info][status][plugin:watcher@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.406] [info][status][plugin:grokdebugger@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.414] [info][status][plugin:dashboard_mode@6.7.2] Status changed from uninitialized to green - Ready
log [07:52:14.416] [info][status][plugin:logstash@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:52:14.426] [info][status][plugin:beats_management@6.7.2] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [07:59:57.335] [info][status][plugin:translations@6.7.2] Status changed from uninitialized to green - Ready
log [07:59:57.350] [info][status][plugin:upgrade_assistant@6.7.2] Status changed from uninitialized to green - Ready
log [07:59:57.378] [info][status][plugin:uptime@6.7.2] Status changed from uninitialized to green - Ready
log [07:59:57.382] [info][status][plugin:oss_telemetry@6.7.2] Status changed from uninitialized to green - Ready
log [07:59:57.397] [info][status][plugin:metrics@6.7.2] Status changed from uninitialized to green - Ready
log [07:59:57.650] [info][status][plugin:timelion@6.7.2] Status changed from uninitialized to green - Ready
log [07:59:58.424] [info][status][plugin:elasticsearch@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.556] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active
log [07:59:58.564] [info][status][plugin:xpack_main@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.564] [info][status][plugin:graph@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.566] [info][status][plugin:searchprofiler@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.566] [info][status][plugin:ml@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.567] [info][status][plugin:tilemap@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.567] [info][status][plugin:watcher@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.568] [info][status][plugin:grokdebugger@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.568] [info][status][plugin:logstash@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.568] [info][status][plugin:beats_management@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.569] [info][status][plugin:index_management@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.569] [info][status][plugin:index_lifecycle_management@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.570] [info][status][plugin:rollup@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.570] [info][status][plugin:remote_clusters@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.571] [info][status][plugin:cross_cluster_replication@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.571] [info][kibana-monitoring][monitoring-ui] Starting monitoring stats collection
log [07:59:58.599] [info][status][plugin:security@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.599] [info][status][plugin:maps@6.7.2] Status changed from yellow to green - Ready
log [07:59:58.700] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active
log [07:59:59.132] [warning][reporting] Generating a random key for xpack.reporting.encryptionKey. To prevent pending reports from failing on restart, please set xpack.reporting.encryptionKey in kibana.yml
log [07:59:59.144] [info][status][plugin:reporting@6.7.2] Status changed from uninitialized to green - Ready
log [07:59:59.310] [info][listening] Server running at http://10.1.20.134:5601
log [07:59:59.337] [info][status][plugin:spaces@6.7.2] Status changed from yellow to green - Ready
步骤三:访问
通过提示,无任何错误表示启动完成。此时通过访问http://localhost:5601
注意:kibana的版本必须与Elasticsearch版本一致