2013-05-24 06:02:42 -04:00
|
|
|
{
|
|
|
|
"indices.stats": {
|
|
|
|
"documentation": "http://elasticsearch.org/guide/reference/api/admin-indices-stats/",
|
|
|
|
"methods": ["GET"],
|
|
|
|
"url": {
|
|
|
|
"path": "/_stats",
|
2013-05-27 11:42:04 -04:00
|
|
|
"paths": ["/_stats", "/{index}/_stats", "_stats/{metric_family}", "/{index}/_stats/{metric_family}", "/_stats/indexing", "/{index}/_stats/indexing", "/_stats/indexing/{indexing_types}", "/_stats/search/{search_groups}", "/{index}/_stats/search/{search_groups}", "/_stats/fielddata/{fields}", "/{index}/_stats/fielddata/{fields}"],
|
2013-05-24 06:02:42 -04:00
|
|
|
"parts": {
|
2013-05-26 06:20:43 -04:00
|
|
|
"fields": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of fields to return detailed information for, when returning the `search` statistics"
|
2013-05-26 06:20:43 -04:00
|
|
|
},
|
2013-05-27 11:42:04 -04:00
|
|
|
"metric_family" : {
|
|
|
|
"type" : "enum",
|
|
|
|
"values" : ["docs", "fielddata", "fields", "filter_cache", "flush", "get", "groups", "id_cache", "ignore_indices", "indexing", "merge", "refresh", "search", "store", "warmer"],
|
|
|
|
"description" : "Limit the information returned to a specific metric"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-27 11:42:04 -04:00
|
|
|
"indexing_types" : {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of document types to include in the `indexing` statistics"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-27 11:42:04 -04:00
|
|
|
"search_groups" : {
|
|
|
|
"type" : "list",
|
|
|
|
"description" : "A comma-separated list of search groups to include in the `search` statistics"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"params": {
|
2013-05-26 06:20:43 -04:00
|
|
|
"all": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return all available information"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
|
|
|
"clear": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Reset the default level of detail"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"docs": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about indexed and deleted documents"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"fielddata": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about field data"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"fields": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "A comma-separated list of fields for `fielddata` metric (supports wildcards)"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"filter_cache": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about filter cache"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"flush": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about flush operations"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"get": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about get operations"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"groups": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "A comma-separated list of search groups for `search` statistics"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"id_cache": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about ID cache"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"ignore_indices": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "enum",
|
|
|
|
"options" : ["none","missing"],
|
|
|
|
"default" : "none",
|
|
|
|
"description" : "When performed on multiple indices, allows to ignore `missing` ones"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"indexing": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about indexing operations"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"merge": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about merge operations"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"refresh": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about refresh operations"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"search": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about search operations; use the `groups` parameter to include information for specific search groups"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"store": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about the size of the index"
|
2013-05-24 06:02:42 -04:00
|
|
|
},
|
2013-05-26 06:20:43 -04:00
|
|
|
"warmer": {
|
2013-05-27 11:42:04 -04:00
|
|
|
"type" : "boolean",
|
|
|
|
"description" : "Return information about warmers"
|
2013-05-24 06:02:42 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": null
|
|
|
|
}
|
|
|
|
}
|