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/

安装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

安装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

posted @   xingoo  阅读(29895)  评论(1编辑  收藏  举报
编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· DeepSeek如何颠覆传统软件测试?测试工程师会被淘汰吗?
历史上的今天:
2013-10-15 CUDA中自动初始化显卡设备宏
2012-10-15 合并排序
2012-10-15 大整数乘法
2012-10-15 二分搜索技术
点击右上角即可分享
微信分享提示