前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Elasticsearch推荐插件篇(head,sense,marvel)

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

作者头像
用户1154259
发布2018-01-17 14:35:14
1.6K0
发布2018-01-17 14:35:14
举报

安装head

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

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

代码语言:javascript
复制
[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/

安装sense

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

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

代码语言:javascript
复制
[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

安装marvel

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

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

代码语言:javascript
复制
[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

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2016-10-15 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 安装head
  • 安装sense
  • 安装marvel
相关产品与服务
Elasticsearch Service
腾讯云 Elasticsearch Service(ES)是云端全托管海量数据检索分析服务,拥有高性能自研内核,集成X-Pack。ES 支持通过自治索引、存算分离、集群巡检等特性轻松管理集群,也支持免运维、自动弹性、按需使用的 Serverless 模式。使用 ES 您可以高效构建信息检索、日志分析、运维监控等服务,它独特的向量检索还可助您构建基于语义、图像的AI深度应用。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档