美文网首页
Elasticsearch入门-推荐插件篇(head,bigde

Elasticsearch入门-推荐插件篇(head,bigde

作者: wyatt_plus | 来源:发表于2017-09-28 19:43 被阅读0次

安装head

head插件可以用来快速查看elasticsearch中的数据概况以及非全量的数据,也支持控件化查询和rest请求,但是体验都不是很好。
一般就用它来看各个索引的数据量以及分片的状态。


执行指令
[root@localhost bin]# ./plugin install mobz/elasticsearch-head
-> Installing mobz/elasticsearch-head...
Plugins directory [/usr/elk/elasticsearch-2.4.0/plugins] does not exist. Creating...
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 /usr/elk/elasticsearch-2.4.0/plugins/head
[root@localhost bin]# ll

由于我使用是的VirtualBox,采用桥接模式,所以我的访问地址为:
http://192.168.254.171:9200/_plugin/head/
正常本地为http://127.0.0.1:9200/_plugin/head/
启动效果:

head

安装bigdesk

bigdesk是一个集群监控工具,可以通过它查看集群的各种状态。
如下图指令:

bigdesk
[root@localhost bin]$./plugin -install lukas-vlcek/bigdesk/2.5.0
.....
...
..
Plugin installation complete
[root@localhost bin]$ ll

本地访问地址http://127.0.0.1:9200/_plugin/bigdesk/
启动效果:

bigdesk

安装marvel

marvel工具可以帮助使用者监控elasticsearch的运行状态,不过这个插件需要收费,只有开发版是免费,我们学习不影响我们使用。它集成了head以及bigdesk的功能,是官方推荐产品。
然后在Kibana段安装marvel插件,这个插件与sense类似,都集成在kibana的导航列表面。
如下图指令


安装图
[root@localhost bin]# ./plugin -install elasticsearch/marvel/latest
....
....
..
Plugin installation complete
[root@localhost bin]$ ll

本地访问地址http://127.0.0.1:9200/_plugin/marvel/
启动效果:

marvel

如果要进行对es的api的增删改查,请切换到sense模块。
具体操作:

sense操作

菜鸟学习,大家多多指导。

相关文章

网友评论

      本文标题:Elasticsearch入门-推荐插件篇(head,bigde

      本文链接:https://www.haomeiwen.com/subject/ttuvextx.html