Elasticsearch之插件介绍及安装

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目录下。

 

2、执行命令

 

 3、插件的目录结构

 

 

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目录下。

 

2、执行命令

 

 

 3、插件的目录结构

 

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而言,安装其他插件的方法,跟此类似!


作者:大数据躺过的坑
出处:http://www.cnblogs.com/zlslch/

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值