摘要

安装Elasticsearch插件Head与Kibana


版本

elasticsearch版本: elasticsearch-2.3.4

elasticsearch-head版本: 2.x(支持elasticsearch 2.x)

Kibana版本: 4.5(支持elasticsearch 2.3 later)

内容

ElasticSearch-Head

关于ElasticSearch-Head官方介绍比较简单,只有一句话:

ElasticSearch-Head 是一个与Elastic集群(Cluster)相交互的Web前台。

ES-Head的主要作用

  • 它展现ES集群的拓扑结构,并且可以通过它来进行索引(Index)和节点(Node)级别的操作
  • 它提供一组针对集群的查询API,并将结果以json和表格形式返回
  • 它提供一些快捷菜单,用以展现集群的各种状态

安装

  • 在线安装

    针对ElasticSearch,我们可以直接通过命令行进行在线插件安装

    ⇒  sudo elasticsearch/bin/plugin install mobz/elasticsearch-head

    但是可能会出现SSLHandshakeException错误

    参考https://github.com/mobz/elasticsearch-head/issues/190给出的解决方法。

    例如:

    bin/plugin --install knapsack --url file:///Full/Path/To/elasticsearch-knapsack-2.1.2.zip
  • 手动安装

    先到github下载文件 elasticsearch-head-master.zip

    然后通过指定文件路径来安装

    ⇒  sudo ./plugin install file:///Users/Richard/Downloads/elasticsearch-head-master.zip

    在2.x之前版本的命令行格式为:

    bin/plugin --install head --url file:///Full/Path/To/elasticsearch-head-master.zip

Kibana

Kibana 是一个ElasticSearch的管理工具,它也提供了对ES集群操作的API。

  • Installing Kibana with yum

The repositories set up in this procedure are not compatible with distributions using version 3 of rpm, such as CentOS version 5.

  1. Download and install the public signing key:

    rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
  2. Create a file named kibana.repo in the /etc/yum.repos.d/ directory with the following contents:

    [kibana-4.5]
    name=Kibana repository for 4.5.x packages
    baseurl=http://packages.elastic.co/kibana/4.5/centos
    gpgcheck=1
    gpgkey=http://packages.elastic.co/GPG-KEY-elasticsearch
    enabled=1
  3. Install Kibana by running the following command:

    yum install kibana

    Configure Kibana to automatically start during bootup. If your distribution is using the System V version of init (check with ps -p 1), run the following command:

    chkconfig --add kibana
  4. If your distribution is using systemd, run the following commands instead:

    sudo /bin/systemctl daemon-reload
    sudo /bin/systemctl enable kibana.service

That’s it! Kibana is now running on port 5601.

  • Install and Start Kibana local

To get Kibana up and running:

  1. Download the Kibana 4 binary package for your platform.
  2. Extract the .zip or tar.gz archive file.
  3. Run Kibana from the install directory: bin/kibana (Linux/MacOSX) or bin\kibana.bat(Windows).

On Unix, you can instead run the package manager suited for your distribution.

关于如何配置,请参考:

http://kibana.logstash.es/content/kibana/v4/setup.html

参考:

elasticsearch-head:

https://github.com/mobz/elasticsearch-head

http://mobz.github.io/elasticsearch-head/

ElasticSearch 2 (6) - 插件安装Head、Kopf与Bigdesk

elasticsearch集群管理工具head插件

elasticsearch 口水篇(5)es分布式集群初探

Kibana:

Getting Kibana Up and Running

Elasticsearch 监控插件安装(elasticsearch-head与Kibana)的更多相关文章

  1. Elasticsearch入门教程(一):Elasticsearch及插件安装

    原文:Elasticsearch入门教程(一):Elasticsearch及插件安装 版权声明:本文为博主原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明. 本文链接:h ...

  2. ELK 学习笔记之 elasticsearch head插件安装

    elasticsearch head插件安装: 准备工作: 安装nodejs和npm https://nodejs.org/en/download/ node-v6.11.2-linux-x64.ta ...

  3. 【windows环境下】RabbitMq的安装和监控插件安装

    RabbitMq的安装: RabbitMQ是基于Erlang的,所以必须先配置Erlang环境. 下载Erlang,地址:http://www.erlang.org/download/otp_win3 ...

  4. 新版elasticsearch的插件安装

    安装 yum localinstall elasticsearch-6.1.1.rpm -y mkdir -p /elk/{data,logs} && chown -R elastic ...

  5. ElasticSearch head 插件安装

    head 客户端可以很方便在上面创建索引,类型,文档,还有查询,使用它管理elasticsearch 提高效率. 在安装head 客户端之前必须安装node.js 环境,因为它是用node.js 编写 ...

  6. Elasticsearch安装(四), elasticsearch head 插件安装和使用。

    安装方式如下: 一.安装Elasticsearch-Head 1.插件安装方式(推荐) #在Elasticsearch目录下 $/bin/plugin -install mobz/elasticsea ...

  7. ElasticSearch及其插件安装配置

    elasticsearch安装使用 .安装步骤: 1.下载elasticsearch的rpm包: wget https://artifacts.elastic.co/downloads/elastic ...

  8. 【linux环境下】RabbitMq的安装和监控插件安装

    [注意安装过程中,提示某些命令not found,直接yum isntall一下就好了] 以下是我在CentOS release 6.4下亲测成功的. RabbitMq的安装:   RabbitMQ是 ...

  9. Elasticsearch -- Head插件安装

    安装Head插件 由于head插件本质上还是一个nodejs的工程,因此需要安装node,使用npm来安装依赖的包. <1>安装Node.js 下载解压 wget https://node ...

随机推荐

  1. Windows剪贴板操作简单小例

    1.复制文字到剪贴板 CString strText = L"须要拷贝到剪贴板的文字"; if ( ::OpenClipboard(m_hWnd) ) { if ( ::Empty ...

  2. 自定义控件VS用户控件

    自定义控件VS用户控件 2015-06-16 1 自定义控件与用户控件区别 WinForm中, 用户控件(User Control):继承自 UserControl,主要用于开发 Container ...

  3. [转]JavaScript放在<head>和<body>的区别

    原文:http://liminhappygirl.iteye.com/blog/1841360 javaScript放在<head>和<body>的区别: 在HTML body ...

  4. 在eclipse上Checkstyle的安装和使用

    1. 概述 随着中心的代码规范的建立和实施,项目组对代码规范要求,以及软件工程师们对自身代码的编写规范重要性的认知,“代码规范”已经成为了中心的一个“热词”.然后怎么才能写出有规范的代码,怎么才能养成 ...

  5. Java反射机制的基本概念与使用

    本篇文章分为以下几个部分: 1.认识反射 2.反射的源头(Class类) 3.利用反射操作构造方法 4.利用反射调用类中的方法 5.反射中的invoke方法 6.利用反射调用类中的属性 反射在我们普通 ...

  6. exit会结束一个进程

    #include <stdio.h> #include <unistd.h> #include <sys/types.h> #include<stdlib.h ...

  7. 查看、分析memcached使用状态

    访问量上升,数据库压力大,怎么办?好办法是在中间挡一层缓存!这个缓存要求高效,不能比数据库慢,否则服务质量受影响:如果能把数据用hash打散存储到硬盘,也是可以的,不过在内存越来越便宜的今天,还是使用 ...

  8. SAN和NAS的区别: 层次不一样

    SAN : STORAGE AREA NETWORK   存储区域网络 NAS : NETWORK ATTACHED STORAGE 网络附加存储 NAS不一定是盘阵,一台普通的主机就可以做出NAS, ...

  9. 关于Unity5.5中2D动画的制作

    1.首先要创建一个精灵 GameProject--2Dproject--Sprite 叫bird 2.给这个精灵附加纹理,并让它显示自己想让它显示的场景层中,一般它的静止纹理就是动画的第一张图片 3. ...

  10. 什么是Spring Cloud

    Spring Cloud是一系列框架的有序集合.它利用Spring Boot的开发便利性巧妙地简化了分布式系统基础设施的开发,如服务发现注册.配置中心.消息总线.负载均衡.断路器.数据监控等,都可以用 ...