OpenSearch/rest-api-spec/api/indices.stats.json

61 lines
2.2 KiB
JSON
Raw Normal View History

{
"indices.stats": {
"documentation": "http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-stats.html",
"methods": ["GET"],
"url": {
"path": "/_stats",
"paths": [
"/_stats",
"/_stats/{metric}",
"/{index}/_stats",
"/{index}/_stats/{metric}"
],
"parts": {
"index": {
"type" : "list",
"description" : "A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices"
},
"metric" : {
2013-05-27 11:42:04 -04:00
"type" : "list",
"options" : ["_all", "completion", "docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merge", "percolate", "refresh", "search", "segments", "store", "warmer"],
"description" : "Limit the information returned the specific metrics."
}
},
"params": {
"completion_fields": {
"type" : "list",
"description" : "A comma-separated list of fields for `fielddata` and `suggest` index metric (supports wildcards)"
},
"fielddata_fields": {
"type" : "list",
"description" : "A comma-separated list of fields for `fielddata` index metric (supports wildcards)"
},
"fields": {
"type" : "list",
"description" : "A comma-separated list of fields for `fielddata` and `completion` index metric (supports wildcards)"
},
"groups": {
2013-05-27 11:42:04 -04:00
"type" : "boolean",
"description" : "A comma-separated list of search groups for `search` index metric"
},
"human": {
"type": "boolean",
"description": "Whether to return time and byte values in human-readable format.",
"default": false
},
"level": {
"type" : "enum",
"description": "Return stats aggregated at cluster, index or shard level",
"options" : ["cluster", "indices", "shards"],
"default" : "indices"
},
"types" : {
"type" : "list",
"description" : "A comma-separated list of document types for the `indexing` index metric"
}
},
"body": null
}
}
}