修改 config/kibana.yml 中的 elasticsearch 配置
[root@h101 kibana]# cd kibana-4.3.1-linux-x64/config/
[root@h101 config]# ls
kibana.yml
[root@h101 config]# grep -v "^#" kibana.yml | grep -v "^$"
[root@h101 config]# vim kibana.yml
[root@h101 config]# grep -v "^#" kibana.yml | grep -v "^$"
elasticsearch.url: "http://h102:9200"
[root@h101 config]#
指向可用的ES
直接使用 bin/kibana 就可以启动服务到前台运行
[root@h101 kibana-4.3.1-linux-x64]# bin/kibana
log [23:42:21.246] [info][status][plugin:kibana] Status changed from uninitialized to green - Ready
log [23:42:21.327] [info][status][plugin:elasticsearch] Status changed from uninitialized to yellow - Waiting for Elasticsearch
log [23:42:21.359] [info][status][plugin:kbn_vislib_vis_types] Status changed from uninitialized to green - Ready
log [23:42:21.380] [info][status][plugin:markdown_vis] Status changed from uninitialized to green - Ready
log [23:42:21.397] [info][status][plugin:metric_vis] Status changed from uninitialized to green - Ready
log [23:42:21.407] [info][status][plugin:spyModes] Status changed from uninitialized to green - Ready
log [23:42:21.437] [info][status][plugin:statusPage] Status changed from uninitialized to green - Ready
log [23:42:21.458] [info][status][plugin:table_vis] Status changed from uninitialized to green - Ready
log [23:42:21.481] [info][status][plugin:elasticsearch] Status changed from yellow to green - Kibana index ready
log [23:42:21.510] [info][listening] Server running at http://0.0.0.0:5601
...
...
会默认监听在 0.0.0.0:5601
Note: 确认本地的 5601 是开放状态
[root@h101 ~]# iptables -L -nv | grep 5601
0 0 ACCEPT tcp -- * * 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:5601
[root@h101 ~]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有