Kibana安装及使用说明

Kibana 用户手册

https://www.elastic.co/guide/cn/kibana/current/index.html

一、Kibana安装

1.环境准备

  Kibana是ElasticSearch的可视化平台,依赖ElasticSearch,需要优先安装ElasticSearch。

  示例:ElasticSearch 5.5.2 集群

2.Kibana下载

  Kibana官方下载地址:https://www.elastic.co/cn/downloads/kibana

  根据ElasticSearch版本及安装环境下载相应的Kibana安装包。

  示例:kibana-5.5.2-linux-x86_64.tar.gz

3.Kibana 安装及配置

  将安装包上次到服务器,然后解压安装包,例如解压到:/run/

  tar –zxvf kibana-5.5.2-linux-x86_64.tar.gz–C /run/

  然后到kibana安装目录的config下,编辑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.33.43.9"

# Enables you to specify a path to mount Kibana at if you are running behind a proxy. This only affects
# the URLs generated by Kibana, your proxy is expected to remove the basePath value before forwarding requests
# to Kibana. This setting cannot end in a slash.
#server.basePath: ""

# The maximum payload size in bytes for incoming server requests.
#server.maxPayloadBytes: 1048576

# The Kibana server's name.  This is used for display purposes.
#server.name: "your-hostname"

# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://10.33.43.9:9200"

# When this setting's value is true Kibana uses the hostname specified in the server.host
# setting. When the value of this setting is false, Kibana uses the hostname of the host
# that connects to this Kibana instance.
#elasticsearch.preserveHost: true

# Kibana uses an index in Elasticsearch to store saved searches, visualizations and
# dashboards. Kibana creates a new index if the index doesn't already exist.
#kibana.index: ".kibana"

# The default application to load.
#kibana.defaultAppId: "discover"

# If your Elasticsearch is protected with basic authentication, these settings provide
# the username and password that the Kibana server uses to perform maintenance on the Kibana
# index at startup. Your Kibana users still need to authenticate with Elasticsearch, which
# is proxied through the Kibana server.
#elasticsearch.username: "user"
#elasticsearch.password: "pass"

# Enables SSL and paths to the PEM-format SSL certificate and SSL key files, respectively.
# These settings enable SSL for outgoing requests from the Kibana server to the browser.
server.ssl.enabled: false
#server.ssl.certificate: /path/to/your/server.crt
#server.ssl.key: /path/to/your/server.key

该配置文件还可以添加其他配置项,例如:server.port: 5601 用来配置kibana服务端口,具体其他配置可以参考kibana.yml文件内部的注释说明。

4.Kibana 启动

切换到kibana安装目录的bin目录下,执行kibana文件

 cd /run/kibana-5.5.2-linux-x86_64/bin

 ./kibana &

主要使用&命令启动后,退出当前窗口时需要使用exit退出

成功启动后,可以访问:http:// 192.168.252.129:5061 5601来访问kibana,ip为kibana安装节点ip,端口默认为50615601,可以在config/kibana.yml中配置.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值