ES Marvel searching/Indexing metrics

monitoring

(ganeshbabu) #1

Hi All,

we have been using Marvel tool for monitoring Elasticsearch cluster and everyday marvel will create own index and it is capable of storing all the activities happened to the cluster like (searching & Indexing).
I would like to get info of how many search request /Indexing request were happened to the particular day?

.marvel-2016.03.27 is the sample marvel index and we need to get the info from the index and it would be helpful for measuring the metrics and let us know any command to get the details.

Please guide us to identify the search/Indexing metrics

Thanks,
Ganeshbabu R


(ganeshbabu) #2

By using the command,

GET .marvel-2016.03.26/_stats and we see the searching & indexing metric details.

Is the right way of checking the metric details?

{
"_shards": {
"total": 2,
"successful": 2,
"failed": 0
},
"_all": {
"primaries": {
"docs": {
"count": 320938,
"deleted": 0
},
"store": {
"size_in_bytes": 646921245,
"throttle_time_in_millis": 118867
},
"indexing": {
"index_total": 320938,
"index_time_in_millis": 471129,
"index_current": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0,
"noop_update_total": 0,
"is_throttled": false,
"throttle_time_in_millis": 0
},
"search": {
"open_contexts": 0,
"query_total": 544,
"query_time_in_millis": 4028,
"query_current": 0,
"fetch_total": 511,
"fetch_time_in_millis": 197,
"fetch_current": 0
},
},
"total": {
"docs": {
"count": 641876,
"deleted": 0
},
"store": {
"size_in_bytes": 1294954113,
"throttle_time_in_millis": 231475
},
"indexing": {
"index_total": 641839,
"index_time_in_millis": 925035,
"index_current": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0,
"noop_update_total": 0,
"is_throttled": false,
"throttle_time_in_millis": 0
},
"search": {
"open_contexts": 0,
"query_total": 1088,
"query_time_in_millis": 8116,
"query_current": 0,
"fetch_total": 1021,
"fetch_time_in_millis": 427,
"fetch_current": 0
},
}
},
"indices": {
".marvel-2016.03.26": {
"primaries": {
"docs": {
"count": 320938,
"deleted": 0
},
"store": {
"size_in_bytes": 646921245,
"throttle_time_in_millis": 118867
},
"indexing": {
"index_total": 320938,
"index_time_in_millis": 471129,
"index_current": 0,
"delete_total": 0,
"delete_time_in_millis": 0,
"delete_current": 0,
"noop_update_total": 0,
"is_throttled": false,
"throttle_time_in_millis": 0
},
"search": {
"open_contexts": 0,
"query_total": 544,
"query_time_in_millis": 4028,
"query_current": 0,
"fetch_total": 511,
"fetch_time_in_millis": 197,
"fetch_current": 0
},

        },
     },
     "total": {
        "docs": {
           "count": 641876,
           "deleted": 0
        },
        "store": {
           "size_in_bytes": 1294954113,
           "throttle_time_in_millis": 231475
        },
        "indexing": {
           "index_total": 641839,
           "index_time_in_millis": 925035,
           "index_current": 0,
           "delete_total": 0,
           "delete_time_in_millis": 0,
           "delete_current": 0,
           "noop_update_total": 0,
           "is_throttled": false,
           "throttle_time_in_millis": 0
        },
        "search": {
           "open_contexts": 0,
           "query_total": 1088,
           "query_time_in_millis": 8116,
           "query_current": 0,
           "fetch_total": 1021,
           "fetch_time_in_millis": 427,
           "fetch_current": 0
        },
     }
  }

}
}


(system) #3