ELK经典架构之Kibana
2019-05-17 本文已影响0人
im青禾
版本选择
kibana-5.6.15-x86_64.rpm
Kibana安装
第1、2、3步类似Filebeat安装。
4.配置kibana.yml
vim kibana.yml
kibana.yml详情,如下代码块:
# Kibana is served by a back end server. This setting specifies the port to use.
server.port: 5601
# Specifies the address to which the Kibana server will bind. IP addresses and host names are both valid values.
# The default is 'localhost', which usually means remote machines will not be able to connect.
# To allow connections from remote users, set this parameter to a non-loopback address.
server.host: "10.10.61.205"
# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://10.10.61.205:9200"
- Kibana运行
- Kibana前台启动
./kibana
Kibana启动成功。
Kibana访问地址:http://10.10.61.205:5601/
- Kibana前台停止
按组合键ctrl+c即可停止Kibana运行。 - Kibana后台启动
nohup ./kibana &
- Kibana进程查询
ps -ef|grep node
- Kibana后台停止
kill -9 29849
29849为上步查询出的pid。 -
配置索引
index pattern根据Logstash配置中out的index值来填写。
- Kibana前台启动