elasticsearch插件一head插件安装详解

  elasticsearch-head是一个用来浏览、与Elastic Search簇进行交互的web前端展示插件。

elasticsearch-head插件主要用途:

  elasticsearch主要有以下三个主要操作——
1)簇浏览,显示簇的拓扑并允许你执行索引(index)和节点层面的操作。
2)查询接口,允许你查询簇并以原始json格式或表格的形式显示检索结果。
3)显示簇状态,有许多快速访问的tabs用来显示簇的状态。
4)支持Restful API接口,包含了许多选项产生感兴趣的结果,包括:
第一,请求方式:get,put,post,delete; json请求数据,节点node, 路径path。
第二,JSON验证器。
第三,定时请求的能力。
第四,用javascript表达式传输结果的能力。
第五,统计一段时间的结果或该段时间结果比对的能力。
第六,以简单图标的形式绘制传输结果。

二、 elasticsearch-head插件安装

  进入ela的bin目录下,执行 ./plugin install mobz/elasticsearch-head,输出结果如下:

-> Installing mobz/elasticsearch-head...
Trying https://github.com/mobz/elasticsearch-head/archive/master.zip ...
Downloading ........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................DONE
Verifying https://github.com/mobz/elasticsearch-head/archive/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 /opt/elasticsearch-2.1.0/plugins/head

  验证插件安装成功标志:

curl -X GET http://localhost:9200/_plugin/head

  

  

原文地址:https://www.cnblogs.com/senlinyang/p/9304908.html