[SPEC] Added level param to cluster.node_stats and indices.stats

This commit is contained in:
Clinton Gormley 2014-01-13 17:40:27 +01:00
parent 2341825358
commit b7cddea495
2 changed files with 12 additions and 0 deletions

View File

@ -45,6 +45,12 @@
"type" : "boolean",
"description" : "A comma-separated list of search groups for `search` index metric"
},
"level": {
"type" : "enum",
"description": "Return indices stats aggregated at node, index or shard level",
"options" : ["node", "indices", "shards"],
"default" : "node"
},
"types" : {
"type" : "list",
"description" : "A comma-separated list of document types for the `indexing` index metric"

View File

@ -38,6 +38,12 @@
"type" : "boolean",
"description" : "A comma-separated list of search groups for `search` index metric"
},
"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"