Elasticsearch推荐插件篇(head,sense,marvel)

Elasticsearch推荐插件篇(head,sense,marvel)

安装head

head插件可以用来快速查看elasticsearch中的数据概况以及非全量的数据,也支持控件化查询和rest请求,但是体验都不是很好。

一般就用它来看各个索引的数据量以及分片的状态。

[root@localnode1 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@localnode1 bin]# ll

直接访问下面的地址即可:
http://localhost:9200/_plugin/head/

449064-20161015085804031-1478289503.png

安装sense

sense插件可以方便的执行rest请求,但是中文输入的体验不是很好。

安装sense只需要在Kibana端安装插件即可,插件会自动安装到kibana的应用菜单中。

[hdfs@localnode1 bin]$ kibana plugin -install elastic/sense
-bash: kibana: command not found
[hdfs@localnode1 bin]$ ./kibana plugin -install elastic/sense
Please specify either --install, --remove, or --list.
[hdfs@localnode1 bin]$ ./kibana plugin --install elastic/sense
Installing sense
Attempting to transfer from https://download.elastic.co/elastic/sense/sense-latest.tar.gz
Transferring 1386775 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete
[hdfs@localnode1 bin]$ 

安装完成后,可以通过导航面板进入,也可以直接访问http://localhost:5601/app/sense

449064-20161015085546703-1891806356.png

449064-20161015085552781-1590934906.png

安装marvel

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

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

[hdfs@localnode1 bin]$ ./plugin install license
-> Installing license...
Trying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.4.0/license-2.4.0.zip ...
Downloading .......DONE
Verifying https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugin/license/2.4.0/license-2.4.0.zip checksums if available ...
Downloading .DONE
Installed license into /usr/elk/elasticsearch-2.4.0/plugins/license

[hdfs@localnode1 bin]$ ./plugin install marvel-agent
....

[hdfs@localnode1 bin]$ ./kibana plugin --install elasticsearch/marvel/latest
Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz
Transferring 2399229 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Plugin installation complete

安装完成后,可以通过导航访问,也可以直接访问http://localhost:5601/app/marvel

449064-20161015085604312-1926327046.png

posted @ 2016-10-15 08:57 xingoo 阅读( ...) 评论( ...) 编辑 收藏
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值