[SPEC] Added human flag to:

* cluster.node_info
* cluster.node_stats
* indices.segments
* indices.stats
* indices.status
This commit is contained in:
Clinton Gormley 2014-01-16 12:42:02 +01:00
parent 8cb091e55d
commit c4713b1022
5 changed files with 25 additions and 0 deletions

View File

@ -20,6 +20,11 @@
"flat_settings": {
"type": "boolean",
"description": "Return settings in flat format (default: false)"
},
"human": {
"type": "boolean",
"description": "Whether to return time and byte values in human-readable format.",
"default": false
}
}
},

View File

@ -45,6 +45,11 @@
"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 indices stats aggregated at node, index or shard level",

View File

@ -26,6 +26,11 @@
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"human": {
"type": "boolean",
"description": "Whether to return time and byte values in human-readable format.",
"default": false
},
"operation_threading": {
"description" : "TODO: ?"
}

View File

@ -38,6 +38,11 @@
"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",

View File

@ -26,6 +26,11 @@
"default" : "open",
"description" : "Whether to expand wildcard expression to concrete indices that are open, closed or both."
},
"human": {
"type": "boolean",
"description": "Whether to return time and byte values in human-readable format.",
"default": false
},
"operation_threading": {
"description" : "TODO: ?"
},