首页 技术 正文
技术 2022年11月15日
0 收藏 824 点赞 4,026 浏览 1623 个字

Marvel and what it is

From http://www.tuicool.com/articles/qA3yau

With marvel you can get an overview of the state of your elasticsearch cluster. When problems arise you can drill down to all aspects of the nodes in your cluster as well as the indexes.

Install Marvel

If the network is connected:cd /usr/share/elasticsearch
bin/plugin -i elasticsearch/marvel/latest

Introduction

Marvel uses the excellent api that elasticsearch itself is providing to get data about your cluster. If you have acces to a cluster you should try out how much information you can obtain. Some of the interesting urls that you can use are:

  • /_cluster/stats?human
  • /_cluster/state
  • /_cluster/nodes/stats
  • /_cluster/nodes?all

A very easy way to try it out is to use the sense tool. You have acces to this tool from the marvel screen. Go to Marvel Dashboards and select the sense tab. The result is the following screen.

The following screen gives an idea of the main screen of marvel. Here you see the overview. Colours indicate problem. Using the overview you can drill down easily. In the top you see the totals for the complete cluster, the number of documents, queries and inserts.

Marvel

The following image shows the node overview, you can see we have three nodes (three pi’s). You can also see that the pi-wit is handling the marvel index. This is having a hard time keeping up. You can also see that elasticsearch prefers more disk space, therefore Disk Free Space is red for all nodes.

Marvel

Than the final image I want to show from the overview desktop is the index overview. Here you can see that I do not use the index mymusic yet, it does not have documents.

Marvel

The final thing I want to show is drilling down, if you select two nodes in the node overview and push the Dashboard button. You go to the screen where you can request very detailed information about the nodes.

Marvel

So how was this possible. The next section discusses the steps to install the pi’s with elasticsearch.

 
相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:8,999
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,511
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,357
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,140
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,770
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,848