zoukankan      html  css  js  c++  java
  • Marvel

    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.

    Screen Shot 2014 02 08 at 15 43 43

    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.

    Screen Shot 2014 02 08 at 15 44 19

    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.

    Screen Shot 2014 02 08 at 15 49 43

    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.

    Screen Shot 2014 02 08 at 15 54 58

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

     
  • 相关阅读:
    Jenkins调用selenium找不到webdriver:selenium.common.exceptions.WebDriverException: Message: unknown error: cannot find Chrome binary
    列表的基本操作
    jenkins集成发送测试报告的常见问题解决
    Chrome 浏览器前端调试技巧大揭秘
    搭建Redis三主三从集群
    Jenkins安装
    python中hasattr()、getattr()、setattr()函数的使用
    python单元测试之unittest框架
    python环境配置详细步骤
    Android:EditText 设置弹出数字输入法键盘
  • 原文地址:https://www.cnblogs.com/limei/p/4242428.html
Copyright © 2011-2022 走看看