OpenSearch/rest-api-spec/api/cluster.node_stats.json

45 lines
1.8 KiB
JSON
Raw Normal View History

{
2013-06-04 11:24:11 -04:00
"cluster.node_stats": {
"documentation": "http://elasticsearch.org/guide/reference/api/admin-cluster-nodes-stats/",
"methods": ["GET"],
"url": {
"path": "/_nodes/stats",
"paths": [
"/_nodes/stats",
"/_nodes/{node_id}/stats",
"/_nodes/stats/{metric_family}",
"/_nodes/{node_id}/stats/{metric_family}",
"/_nodes/stats/{metric_family}/{metric}",
2014-01-08 15:03:06 -05:00
"/_nodes/{node_id}/stats/{metric_family}/{metric}"
],
"parts": {
"fields" : {
"type" : "list",
"description" : "A comma-separated list of fields to return detailed information for, when returning the `indices` metric family (supports wildcards)"
},
"metric_family" : {
"type" : "enum",
"options" : ["all","fs","http","indices","jvm","network","os","process","thread_pool","transport"],
"description" : "Limit the information returned to a certain metric family"
},
"metric" : {
"type" : "enum",
"options" : ["completion","docs", "fielddata", "filter_cache", "flush", "get", "id_cache", "indexing", "merges", "refresh", "search", "store", "warmer"],
2014-01-08 15:03:06 -05:00
"description" : "Limit the information returned for `indices` family to a specific metric. Isn't used if `indices` (or `all`) metric family isn't specified."
},
"node_id": {
"type" : "list",
"description" : "A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes"
}
},
"params": {
"fields": {
"type" : "list",
"description" : "A comma-separated list of fields for `fielddata` metric (supports wildcards)"
}
}
},
"body": null
}
}