Get feature usage information
Generally available; Added in 6.0.0
Required authorization
- Cluster privileges:
monitor
,manage
Path parameters
-
metric
string | array[string] Required Limits the information returned to the specific metrics. A comma-separated list of the following options:
_all
,rest_actions
.
Query parameters
-
timeout
string Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Values are
-1
or0
.
GET
/_nodes/usage/{metric}
Console
GET _nodes/usage
curl \
--request GET 'http://api.example.com/_nodes/usage/{metric}' \
--header "Authorization: $API_KEY"