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.

     
  • 相关阅读:
    flex 和bison的安装和使用
    c++ map
    C++ 值传递、址传递、引用传递
    位运算
    POJ 1185 炮兵阵地 (状压DP)
    POJ 3114 Countries in War(强联通分量+Tarjan)
    Codeforces Round #262 (Div. 2) A B C
    2014多校第十场1002 || HDU 4972 A simple dynamic programming problem
    2014多校第十场1004 || HDU 4974 A simple water problem
    POJ 1144 Network(Tarjan)
  • 原文地址:https://www.cnblogs.com/limei/p/4242428.html
Copyright © 2011-2022 走看看