最简单详细的Elasticsearch-kibana插件安装

Kibana的安装教程

仅适用于windows系统,ios的请自行绕路。

一、简介

  1. Kibana是一款开源的数据分析和可视化平台,它是Elastic Stack成员之一,设计用于和ElasticSearch协作。您可以使用Kibana对ElasticSearch索引中的数据进行搜索、查看、交互操作。您可以很方便的利用图表、表格及地图对数据进行多元化的分析和呈现。
  2. Kibana可以使大数据通俗易懂。它很简单,基于浏览器的界面便于您快速创建和分享动态数据仪表板来追踪ElasticSearch的实时数据变化。
  3. 搭建Kibana非常简单。您可以分分钟完成Kibana的安装并开始探索ElasticSearch的索引数据。

二、准备环境

  • ElasticSearch 5.6.9
  • Kibana 5.6.9

三、准备安装

1.下载安装包

下载地址: https://www.elastic.co/downloads/past-releases
这里下载的是kibana-5.6.9-windows-x86

2.解压压缩包

这里直接解压到当前文件夹即可。

3.修改配置文件
# Kibana is served by a back end server. This setting specifies the port to use.
# Kibana是个后台服务, 需要指定服务的IP地址和端口号. 默认值为5601. 
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.
# 指定Kibana服务需要绑定的IP地址, 默认值为本地回环地址"localhost". 若要允许远程访问, 就需要改为本地服务器的IP地址. (127.0.0.1的作用等同于localhost, 可用ifconfig命令查看本机的IPV4地址)
server.host: "localhost"

# 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服务的地址, 默认是本地回环地址+9200端口
# elasticsearch.url: "http://localhost: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在Elasticsearch中的索引
kibana.index: ".kibana"
4.启动Kibana

双击bin目录下的kibana.bat文件

四、验证安装

在浏览器访问:localhost:5601,出现显示Kibana字体界面,说明启动成功。

你可能感兴趣的:(Elasticsearch)