ES站点插件(以网页形式展现)

  1、BigDesk Plugin (作者 Lukáš Vlček)

    简介:监控es状态的插件,推荐!【目前不支持2.x】

  2、Elasticsearch Head Plugin (作者 Ben Birch) (主要)

    简介:很方便对es进行各种操作的客户端。

  3、kopf Plugin(作者lmenezes) (主要)

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

  4、 marvel插件

    marvel工具可以帮助使用者监控elasticsearch的运行状态,不过这个插件需要license。安装完license后可以安装marvel的agent,agent会收集elasticsearch的运行状态。

    然后在Kibana段安装marvel插件,这个插件与sense类似,都集成在kibana的导航列表面。

  5、其他插件

    $ ${ES_HOME}/bin/plugin --install lukas-vlcek/bigdesk

    # 安装完成访问:http://your ip:9200/_plugin/bigdesk/#nodes

    $ ${ES_HOME}/bin/plugin -install royrusso/elasticsearch-HQ

    # 安装完成访问:http://your ip:9200/_plugin/HQ/

    $ ${ES_HOME}/bin/plugin -install lmenezes/elasticsearch-kopf

    # 安装完成访问:http://your ip:9200/_plugin/kopf/#!/cluster


ES插件之Head Plugin

  (1)这个head插件主要提供的是健康状态查询

  (2)在线安装 :bin/plugin install mobz/elasticsearch-head

  (3)离线安装: bin/plugin install  file:///home/zhouls/elasticsearch-head-master.zip

  (4)删除bin/plugin remove head

  (5)访问http://your ip:9200/_plugin/head/

  (6)bin/plugin是ES的插件脚本,用这个来安装。

ES插件Head Plugin之在线安装

  需要去https://github.com/上下载,搜索mobz/elasticsearch-head

  进入,

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

  这就是所谓的在线安装!即,在$ES_HOME下,在线安装 :bin/plugin install mobz/elasticsearch-head

  这就是离线安装,即,离线安装: bin/plugin install  file:///home/zhouls/elasticsearch-head-master.zip

  这就是最后下载下来的!

  我这里,以离线方式来安装ES插件之Head Plugin!

1、 为了方便管理,我将这个elasticsearch-head-master.zip上传到,我的/usr/local/elasticsearch目录下。

[hadoop@djt002 elasticsearch]$ pwd
/usr/local/elasticsearch
[hadoop@djt002 elasticsearch]$ ll
total 4
drwxrwxr-x. 9 hadoop hadoop 4096 Feb 21 07:07 elasticsearch-2.4.3
[hadoop@djt002 elasticsearch]$ rz

[hadoop@djt002 elasticsearch]$ ll
total 892
drwxrwxr-x. 9 hadoop hadoop 4096 Feb 21 07:07 elasticsearch-2.4.3
-rw-r--r--. 1 hadoop hadoop 908862 Jan 10 11:38 elasticsearch-head-master.zip
[hadoop@djt002 elasticsearch]$

2、执行命令

[hadoop@djt002 elasticsearch]$ ll
total 892
drwxrwxr-x. 9 hadoop hadoop 4096 Feb 21 07:07 elasticsearch-2.4.3
-rw-r--r--. 1 hadoop hadoop 908862 Jan 10 11:38 elasticsearch-head-master.zip
[hadoop@djt002 elasticsearch]$ cd elasticsearch-2.4.3/
[hadoop@djt002 elasticsearch-2.4.3]$ pwd
/usr/local/elasticsearch/elasticsearch-2.4.3
[hadoop@djt002 elasticsearch-2.4.3]$ bin/plugin install file:///usr/local/elasticsearch/elasticsearch-head-master.zip
-> Installing from file:/usr/local/elasticsearch/elasticsearch-head-master.zip...
Trying file:/usr/local/elasticsearch/elasticsearch-head-master.zip ...
Downloading .........DONE
Verifying file:/usr/local/elasticsearch/elasticsearch-head-master.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
Installed head into /usr/local/elasticsearch/elasticsearch-2.4.3/plugins/head
[hadoop@djt002 elasticsearch-2.4.3]$

3、插件的目录结构

[hadoop@djt002 elasticsearch-2.4.3]$ cd plugins/
[hadoop@djt002 plugins]$ pwd
/usr/local/elasticsearch/elasticsearch-2.4.3/plugins
[hadoop@djt002 plugins]$ ll
total 4
drwxrwxr-x. 5 hadoop hadoop 4096 Feb 21 22:46 head
[hadoop@djt002 plugins]$ cd head/
[hadoop@djt002 head]$ pwd
/usr/local/elasticsearch/elasticsearch-2.4.3/plugins/head
[hadoop@djt002 head]$ ll
total 52
-rw-rw-r--. 1 hadoop hadoop 248 Feb 21 22:46 Dockerfile
-rw-rw-r--. 1 hadoop hadoop 104 Feb 21 22:46 elasticsearch-head.sublime-project
-rw-rw-r--. 1 hadoop hadoop 2171 Feb 21 22:46 Gruntfile.js
-rw-rw-r--. 1 hadoop hadoop 3482 Feb 21 22:46 grunt_fileSets.js
-rw-rw-r--. 1 hadoop hadoop 1085 Feb 21 22:46 index.html
-rw-rw-r--. 1 hadoop hadoop 559 Feb 21 22:46 LICENCE
-rw-rw-r--. 1 hadoop hadoop 793 Feb 21 22:46 package.json
-rw-rw-r--. 1 hadoop hadoop 100 Feb 21 22:46 plugin-descriptor.properties
-rw-rw-r--. 1 hadoop hadoop 5320 Feb 21 22:46 README.textile
drwxrwxr-x. 5 hadoop hadoop 4096 Feb 21 22:46 _site
drwxrwxr-x. 4 hadoop hadoop 4096 Feb 21 22:46 src
drwxrwxr-x. 4 hadoop hadoop 4096 Feb 21 22:46 test
[hadoop@djt002 head]$

4、插件安装完成之后的验证

  注意啊,前提得是es启动啊

[hadoop@djt002 elasticsearch-2.4.3]$ bin/elasticsearch -d

  输入,http://192.168.80.200:9200/_plugin/head/                   head是插件名称

ES插件kopf Plugin之在线安装

  需要去https://github.com/上下载,搜索lmenezes/elasticsearch-kopf

  进入,https://github.com/search?utf8=%E2%9C%93&q=lmenezes%2Felasticsearch-kopf

https://github.com/lmenezes/elasticsearch-kopf

  这就是所谓的在线安装!即,在$ES_HOME下,在线安装 :bin/plugin install lmenezes/elasticsearch-kopf

  这就是离线安装,即,离线安装: bin/plugin install  file:///home/zhouls/elasticsearch-kopf-master.zip

  这就是最后下载下来的!

我这里,以离线方式来安装ES插件之Kopf Plugin!

1、 为了方便管理,我将这个elasticsearch-kopf-master.zip上传到,我的/usr/local/elasticsearch目录下。

[hadoop@djt002 elasticsearch]$ pwd
/usr/local/elasticsearch
[hadoop@djt002 elasticsearch]$ ll
total 892
drwxrwxr-x. 9 hadoop hadoop 4096 Feb 21 07:07 elasticsearch-2.4.3
-rw-r--r--. 1 hadoop hadoop 908862 Jan 10 11:38 elasticsearch-head-master.zip
[hadoop@djt002 elasticsearch]$ rz

[hadoop@djt002 elasticsearch]$ ll
total 3072
drwxrwxr-x. 9 hadoop hadoop 4096 Feb 21 07:07 elasticsearch-2.4.3
-rw-r--r--. 1 hadoop hadoop 908862 Jan 10 11:38 elasticsearch-head-master.zip
-rw-r--r--. 1 hadoop hadoop 2228252 Jan 10 11:38 elasticsearch-kopf-master.zip
[hadoop@djt002 elasticsearch]$

2、执行命令

[hadoop@djt002 elasticsearch]$ ll
total 3072
drwxrwxr-x. 9 hadoop hadoop 4096 Feb 21 07:07 elasticsearch-2.4.3
-rw-r--r--. 1 hadoop hadoop 908862 Jan 10 11:38 elasticsearch-head-master.zip
-rw-r--r--. 1 hadoop hadoop 2228252 Jan 10 11:38 elasticsearch-kopf-master.zip
[hadoop@djt002 elasticsearch]$ cd elasticsearch-2.4.3/
[hadoop@djt002 elasticsearch-2.4.3]$ pwd
/usr/local/elasticsearch/elasticsearch-2.4.3
[hadoop@djt002 elasticsearch-2.4.3]$ bin/plugin install file:///usr/local/elasticsearch/elasticsearch-kopf-master.zip
-> Installing from file:/usr/local/elasticsearch/elasticsearch-kopf-master.zip...
Trying file:/usr/local/elasticsearch/elasticsearch-kopf-master.zip ...
Downloading ......................DONE
Verifying file:/usr/local/elasticsearch/elasticsearch-kopf-master.zip checksums if available ...
NOTE: Unable to verify checksum for downloaded plugin (unable to find .sha1 or .md5 file to verify)
Installed kopf into /usr/local/elasticsearch/elasticsearch-2.4.3/plugins/kopf
[hadoop@djt002 elasticsearch-2.4.3]$

3、插件的目录结构

[hadoop@djt002 plugins]$ pwd
/usr/local/elasticsearch/elasticsearch-2.4.3/plugins
[hadoop@djt002 plugins]$ ll
total 4
drwxrwxr-x. 5 hadoop hadoop 4096 Feb 21 22:46 head
[hadoop@djt002 plugins]$ ll
total 8
drwxrwxr-x. 5 hadoop hadoop 4096 Feb 21 22:46 head
drwxrwxr-x. 8 hadoop hadoop 4096 Feb 21 23:13 kopf
[hadoop@djt002 plugins]$ cd kopf/
[hadoop@djt002 kopf]$ pwd
/usr/local/elasticsearch/elasticsearch-2.4.3/plugins/kopf
[hadoop@djt002 kopf]$ ll
total 52
-rw-rw-r--. 1 hadoop hadoop 237 Feb 21 23:13 CHANGELOG.md
drwxrwxr-x. 2 hadoop hadoop 4096 Feb 21 23:13 dataset
drwxrwxr-x. 2 hadoop hadoop 4096 Feb 21 23:13 docker
-rw-rw-r--. 1 hadoop hadoop 4315 Feb 21 23:13 Gruntfile.js
drwxrwxr-x. 2 hadoop hadoop 4096 Feb 21 23:13 imgs
-rw-rw-r--. 1 hadoop hadoop 1083 Feb 21 23:13 LICENSE
-rw-rw-r--. 1 hadoop hadoop 1276 Feb 21 23:13 package.json
-rw-rw-r--. 1 hadoop hadoop 102 Feb 21 23:13 plugin-descriptor.properties
-rw-rw-r--. 1 hadoop hadoop 3165 Feb 21 23:13 README.md
drwxrwxr-x. 6 hadoop hadoop 4096 Feb 21 23:13 _site
drwxrwxr-x. 4 hadoop hadoop 4096 Feb 21 23:13 src
drwxrwxr-x. 4 hadoop hadoop 4096 Feb 21 23:13 tests
[hadoop@djt002 kopf]$

4、插件安装完成之后的验证

  注意啊,前提得是es启动啊   [hadoop@djt002 elasticsearch-2.4.3]$ bin/elasticsearch -d

  输入,http://192.168.80.200:9200/_plugin/kopf/                   kopf是插件名称

  我这里,以在线方式来安装ES插件之marvel插件!

[hadoop@HadoopMaster elasticsearch-2.4.3]$ pwd
/home/hadoop/app/elasticsearch-2.4.3
[hadoop@HadoopMaster elasticsearch-2.4.3]$ bin/plugin install license
-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.4.3/license-2.4.3.zip ...
Downloading .......DONE
Verifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.4.3/license-2.4.3.zip checksums if available ...
Downloading .DONE
Installed license into /home/hadoop/app/elasticsearch-2.4.3/plugins/license
[hadoop@HadoopMaster elasticsearch-2.4.3]$ bin/plugin install marvel-agent
-> Installing marvel-agent...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.4.3/marvel-agent-2.4.3.zip ...
Downloading ..........DONE
Verifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/marvel-agent/2.4.3/marvel-agent-2.4.3.zip checksums if available ...
Downloading .DONE
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: plugin requires additional permissions @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
* java.lang.RuntimePermission setFactory
* javax.net.ssl.SSLPermission setHostnameVerifier
See http://docs.oracle.com/javase/8/docs/technotes/guides/security/permissions.html
for descriptions of what these permissions allow and the associated risks. Continue with installation? [y/N]y
Installed marvel-agent into /home/hadoop/app/elasticsearch-2.4.3/plugins/marvel-agent
[hadoop@HadoopMaster elasticsearch-2.4.3]$

总结:

  对于ES而言,安装其他插件的方法,跟此类似!

推荐

Elasticsearch笔记三之版本控制和插件

Elasticsearch之插件介绍及安装的更多相关文章

  1. elasticsearch(全文检索)的介绍和安装

    ElasticSearch是一个基于Lucene的搜索服务器.它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口.Elasticsearch是用Java开发的,并作为Apach ...

  2. Elasticsearch之插件扩展

    Elasticsearch之插件介绍及安装 Elasticsearch之head插件安装之后的浏览详解 Elasticsearch之kopf插件安装之后的浏览详解 Elasticsearch-2.4. ...

  3. ElasticSearch head 插件安装

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

  4. 第三百五十九节,Python分布式爬虫打造搜索引擎Scrapy精讲—elasticsearch(搜索引擎)介绍以及安装

    第三百五十九节,Python分布式爬虫打造搜索引擎Scrapy精讲—elasticsearch(搜索引擎)介绍以及安装 elasticsearch(搜索引擎)介绍 ElasticSearch是一个基于 ...

  5. Elasticsearch介绍及安装部署

    本节内容: Elasticsearch介绍 Elasticsearch集群安装部署 Elasticsearch优化 安装插件:中文分词器ik 一.Elasticsearch介绍 Elasticsear ...

  6. Elasticsearch介绍和安装与使用

    转载:https://blog.csdn.net/weixin_42633131/article/details/82902812 1.Elasticsearch介绍和安装 1.1.简介1.1.1.E ...

  7. ElasticSearch入门介绍之安装部署(二)

    散仙,在上篇文章对ElasticSearch整体入门作了个介绍,那么本篇我们来看下,如何安装,部署es,以及如何安装es的几个比较常用的插件. es的安装和部署,是非常简单方便的,至少这一点散仙在es ...

  8. Elasticsearch介绍和安装

    Elasticsearch介绍和安装 软件包: 链接:https://pan.baidu.com/s/1O_C0JQGfF8sC_OtcCCLNoQ 提取码:3iai 1.1.简介 1.1.1.Ela ...

  9. Elasticsearch -- Head插件安装

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

随机推荐

  1. Node.js/Python爬取网上漫画

    某个周日晚上偶然发现了<火星异种>这部漫画,便在网上在线看了起来.在看的过程中图片加载很慢,而且有时候还不小心点到广告,大大延缓了我看的进度.后来想到能不能把先把漫画全部抓取到本地再去看. ...

  2. maven pox.xml文件报错解决办法 亲测可以

    问题1 由于maven下载依赖包失败导致一些文件没完全下载下来,形成了lastUpdated结尾的文件存放在本地仓库中(我是默认地址:C:\Users\Administrator\.m2\reposi ...

  3. LeetCode OJ:Add Binary(二进制相加)

    Given two binary strings, return their sum (also a binary string). For example,a = "11"b = ...

  4. Arcgis for Javascript之统计图的实现

    首先,截个图给大家看看效果: 初始化状态 放大后的状态 点击选中后的状态 如上图所示,一般的涉及到的地图的统计涉及到上述所展示的三个状态:1.初始化状态:2.缩放后的状态:3.点击选中显示详情状态.第 ...

  5. SVG 总结

    //文件名:11.svg<?xml version="1.0" encoding="UTF-8" ?> <!--XML NameSpace:名 ...

  6. go 通过nginx代理后获取用户ip

    go 如果使用自己的服务器,可以直接使用 net/http 来获取 func ip(w http.ResponseWriter, r *http.Request) { fmt.Println(r.Re ...

  7. Lumen实现用户注册登录认证

    Lumen实现用户注册登录认证 前言 Lumen是一个基于Laravel的微框架,号称是以速度为生.截用Lumen官网的一段,号称是比silex和slim还要快. 本文将用Lumen来实现一个完整的用 ...

  8. php curl请求。header头中添加请求信息

    function get_data($key,$authorization,$url){ $headers = array(    'api-key:'.$key,    'authorization ...

  9. HihoCoder1325 : 平衡树·Treap(附STL版本)

    平衡树·Treap 时间限制:10000ms 单点时限:1000ms 内存限制:256MB 描述 小Ho:小Hi,我发现我们以前讲过的两个数据结构特别相似. 小Hi:你说的是哪两个啊? 小Ho:就是二 ...

  10. c++11新特性之宽窄字符转换

    C++11增加了unicode字面量的支持,可以通过L来定义宽字符:str::wstring str = L"中国人": 将宽字符转换为窄字符串需要用到codecvt库中的std: ...