如何安装Kibana
发表于:2026-11-03 作者:千家信息网编辑
千家信息网最后更新 2026年11月03日,这篇文章将为大家详细讲解有关如何安装Kibana,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。安装Kibana官网地址:https://www.elastic.co
千家信息网最后更新 2026年11月03日如何安装Kibana
这篇文章将为大家详细讲解有关如何安装Kibana,小编觉得挺实用的,因此分享给大家做个参考,希望大家阅读完这篇文章后可以有所收获。
安装Kibana
官网地址:https://www.elastic.co/cn/
Mac安装
Kibana配置文件参考:https://www.elastic.co/guide/en/kibana/5.x/settings.html
Kibana是ElasticSearch的可视化平台,依赖ElasticSearch,需要优先安装ElasticSearch。
注意:kibana的版本必须与Elasticsearch版本一致
修改配置文件:找到kibana下的config文件夹,编辑kibana.yml配置文件,添加如下配置:
server.port: 5601server.host: "127.0.0.1"elasticsearch.url: "http://localhost:9200"
启动kibana:找到kibana下的bin文件夹,就可以启动Kibana服务了。
./bin/kibana
Last login: Fri Jul 19 19:14:18 on ttys001lihuandeMacBook-Pro:~ lihuan$ /Users/lihuan/Documents/opt/elasticsearch/kibana-6.7.0-darwin-x86_64/bin/kibana ; exit; log [11:15:46.092] [info][status][plugin:kibana@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.117] [info][status][plugin:elasticsearch@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.118] [info][status][plugin:xpack_main@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.122] [info][status][plugin:graph@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.128] [info][status][plugin:monitoring@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.130] [info][status][plugin:spaces@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.135] [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 [11:15:46.138] [warning][security] Session cookies will be transmitted over insecure connections. This is not recommended. log [11:15:46.142] [info][status][plugin:security@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.153] [info][status][plugin:searchprofiler@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.154] [info][status][plugin:ml@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.179] [info][status][plugin:tilemap@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.180] [info][status][plugin:watcher@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.189] [info][status][plugin:grokdebugger@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.192] [info][status][plugin:dashboard_mode@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.193] [info][status][plugin:logstash@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.196] [info][status][plugin:beats_management@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.214] [info][status][plugin:apm@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.216] [info][status][plugin:tile_map@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.217] [info][status][plugin:task_manager@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.219] [info][status][plugin:maps@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.221] [info][status][plugin:interpreter@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.226] [info][status][plugin:canvas@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.228] [info][status][plugin:license_management@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.229] [info][status][plugin:cloud@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.229] [info][status][plugin:index_management@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.238] [info][status][plugin:console@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.239] [info][status][plugin:console_extensions@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.241] [info][status][plugin:notifications@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.242] [info][status][plugin:index_lifecycle_management@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.269] [info][status][plugin:infra@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.270] [info][status][plugin:rollup@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.275] [info][status][plugin:remote_clusters@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.278] [info][status][plugin:cross_cluster_replication@6.7.0] Status changed from uninitialized to yellow - Waiting for Elasticsearch log [11:15:46.285] [info][status][plugin:translations@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.292] [info][status][plugin:upgrade_assistant@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.299] [info][status][plugin:uptime@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.300] [info][status][plugin:oss_telemetry@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.306] [info][status][plugin:metrics@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.388] [info][status][plugin:timelion@6.7.0] Status changed from uninitialized to green - Ready log [11:15:46.646] [info][status][plugin:elasticsearch@6.7.0] Status changed from yellow to green - Ready log [11:15:46.678] [info][license][xpack] Imported license information from Elasticsearch for the [data] cluster: mode: basic | status: active log [11:15:46.681] [info][status][plugin:xpack_main@6.7.0] Status changed from yellow to green - Ready log [11:15:46.682] [info][status][plugin:graph@6.7.0] Status changed from yellow to green - Ready log [11:15:46.683] [info][status][plugin:searchprofiler@6.7.0] Status changed from yellow to green - Ready log [11:15:46.683] [info][status][plugin:ml@6.7.0] Status changed from yellow to green - Ready log [11:15:46.683] [info][status][plugin:tilemap@6.7.0] Status changed from yellow to green - Ready log [11:15:46.683] [info][status][plugin:watcher@6.7.0] Status changed from yellow to green - Ready log [11:15:46.684] [info][status][plugin:grokdebugger@6.7.0] Status changed from yellow to green - Ready log [11:15:46.684] [info][status][plugin:logstash@6.7.0] Status changed from yellow to green - Ready log [11:15:46.684] [info][status][plugin:beats_management@6.7.0] Status changed from yellow to green - Ready log [11:15:46.685] [info][status][plugin:index_management@6.7.0] Status changed from yellow to green - Ready log [11:15:46.685] [info][status][plugin:index_lifecycle_management@6.7.0] Status changed from yellow to green - Ready log [11:15:46.685] [info][status][plugin:rollup@6.7.0] Status changed from yellow to green - Ready log [11:15:46.686] [info][status][plugin:remote_clusters@6.7.0] Status changed from yellow to green - Ready log [11:15:46.686] [info][status][plugin:cross_cluster_replication@6.7.0] Status changed from yellow to green - Ready log [11:15:46.686] [info][kibana-monitoring][monitoring-ui] Starting monitoring stats collection log [11:15:46.695] [info][status][plugin:security@6.7.0] Status changed from yellow to green - Ready log [11:15:46.695] [info][status][plugin:maps@6.7.0] Status changed from yellow to green - Ready log [11:15:46.724] [info][license][xpack] Imported license information from Elasticsearch for the [monitoring] cluster: mode: basic | status: active log [11:15:47.117] [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 [11:15:47.134] [info][status][plugin:reporting@6.7.0] Status changed from uninitialized to green - Ready log [11:15:47.274] [info][listening] Server running at http://localhost:5601 log [11:15:47.283] [info][status][plugin:spaces@6.7.0] Status changed from yellow to green - Ready
通过提示,无任何错误表示启动完成。此时通过访问http://localhost:5601
Linux安装
地址:https://www.elastic.co/cn/downloads/past-releases/kibana-6-7-2
修改配置文件(注意ip不能为localhost)
server.port: 5601server.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
[dev@lihuan1-dev.bj1.haodf.net bin]$ sudo sh kibana备注:后台启动[dev@search3.es.test.bj1 bin]$ nohup sh kibana &[1] 6110
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
关于"如何安装Kibana"这篇文章就分享到这里了,希望以上内容可以对大家有一定的帮助,使各位可以学到更多知识,如果觉得文章不错,请把它分享出去让更多的人看到。
文件
配置
篇文章
地址
文件夹
更多
版本
参考
不错
实用
一致
内容
后台
备注
平台
文章
知识
错误
可视化
帮助
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
喔噻互联网科技有限公司
互联网科技行业发展
金诺互联网科技
顺玮阁互联网科技
兼蜜互联网科技
撒么互联网科技公司
大白互联网科技
央行互联网金融科技公司
银川新华互联网科技职业技术培训学校图片
互联网校园科技培训
重庆互联网医院沙龙医盟信息科技
亳州好赞互联网科技有限公司
乌鲁木齐新华智原互联网科技学校
佛山市翊博互联网络科技有限公司
互联网科技公司营业执照怎么办理
深圳互联网科技的发展
美国互联网科技公司
互联网界的黑科技
安徽零酒互联网科技有限公司
科技互联网企业在行动
云南咖啡
互联网科技公司简介
科技股互联网
深圳互联网络科技有限公司
互联网科技汛
南山科技园互联网公司有哪些
北京市互联网新科技
互联网硬科技公司
互联网科技对化妆品行业
青岛互联网科技园