6.elasticsearch插件一head插件安装详解

铭毅天下,原文地址:blog.csdn.net/laoyang360 https://blog.csdn.net/wojiushiwo987/article/details/51472821

一、elasticsearch-head插件介绍

elasticsearch-head是一个用来浏览、与Elastic Search簇进行交互的web前端展示插件。 
elasticsearch-head是一个用来监控Elastic Search状态的客户端插件。(摘自:《实战Elasticsearch、Logstash、Kibana 分布式大数据搜索与日志挖掘及可视化解决方案》)

elasticsearch-head插件主要用途:

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

二、 elasticsearch-head插件安装

【前提】:操作系统版本

[root@5b9dbaaa148a config]# cat /etc/issue 
CentOS release 6.6 (Final)

第一步:

[elasticsearch@5b9dbaaa148a bin]$ /usr/local/elasticsearch/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 /data/elasticsearch/plugins/head

注意格式: /usr/local/elasticsearch/bin/plugin install mobz/elasticsearch-head

第二步:

**验证插件安装成功标志: 
[elasticsearch@5b9dbaaa148a elasticsearch]$ curl -X GET http://10.8.5.101:9200/_plugin/head 

三、前端呈现

**浏览器访问结果: 
这里写图片描述 


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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值