2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"indices.stats": {
|
2014-01-22 08:40:31 -05:00
|
|
|
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/master/indices-stats.html",
|
2013-05-24 06:02:42 -04:00
|
|
|
"methods": ["GET"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_stats",
|
2013-06-21 10:57:41 -04:00
|
|
|
"paths": [
|
|
|
|
"/_stats",
|
2014-01-13 10:54:42 -05:00
|
|
|
"/_stats/{metric}",
|
2013-06-21 10:57:41 -04:00
|
|
|
"/{index}/_stats",
|
2014-01-13 10:54:42 -05:00
|
|
|
"/{index}/_stats/{metric}"
|
2013-06-21 10:57:41 -04:00
|
|
|
],
|
2013-05-24 06:02:42 -04:00
|
|
|
"parts": {
|
2013-05-27 15:09:41 -04:00
|
|
|
"index": {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2014-01-13 10:54:42 -05:00
|
|
|
"metric" : {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "list",
|
2014-03-26 20:33:23 -04:00
|
|
|
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "refresh", "search", "segments", "store", "warmer", "suggest"],
|
2014-01-13 10:54:42 -05:00
|
|
|
"description" : "Limit the information returned the specific metrics."
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2013-09-20 07:26:04 -04:00
|
|
|
"completion_fields": {
|
|
|
|
"type" : "list",
|
2014-01-13 10:54:42 -05:00
|
|
|
"description" : "A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-09-20 07:26:04 -04:00
|
|
|
"fielddata_fields": {
|
|
|
|
"type" : "list",
|
2014-01-13 10:54:42 -05:00
|
|
|
"description" : "A comma-separated list of fields for `fielddata` index metric (supports wildcards)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-09-20 07:26:04 -04:00
|
|
|
"fields": {
|
|
|
|
"type" : "list",
|
2014-01-13 10:54:42 -05:00
|
|
|
"description" : "A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"groups": {
|
2014-07-08 14:25:13 -04:00
|
|
|
"type" : "list",
|
2014-01-13 10:54:42 -05:00
|
|
|
"description" : "A comma-separated list of search groups for `search` index metric"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2014-01-16 06:42:02 -05:00
|
|
|
"human": {
|
|
|
|
"type": "boolean",
|
|
|
|
"description": "Whether to return time and byte values in human-readable format.",
|
|
|
|
"default": false
|
|
|
|
},
|
2014-01-13 11:40:27 -05:00
|
|
|
"level": {
|
|
|
|
"type" : "enum",
|
|
|
|
"description": "Return stats aggregated at cluster, index or shard level",
|
|
|
|
"options" : ["cluster", "indices", "shards"],
|
|
|
|
"default" : "indices"
|
|
|
|
},
|
2014-01-13 10:54:42 -05:00
|
|
|
"types" : {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of document types for the `indexing` index metric"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
2014-01-13 11:17:53 -05:00
|
|
|
},
|
|
|
|
"body": null
|
|
|
|
}
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|