WARNING: Version 6.1 of Elasticsearch has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Nodes Feature Usage
editNodes Feature Usage
editNodes usage
editThe cluster nodes usage API allows to retrieve information on the usage of features for each node.
GET _nodes/usage GET _nodes/nodeId1,nodeId2/usage
The first command retrieves usage of all the nodes in the cluster. The
second command selectively retrieves nodes usage of only nodeId1
and
nodeId2
. All the nodes selective options are explained
here.
REST actions usage information
editThe rest_actions
field in the response contains a map of the REST
actions classname with a count of the number of times that action has
been called on the node:
{ "_nodes": { "total": 1, "successful": 1, "failed": 0 }, "cluster_name": "my_cluster", "nodes": { "pQHNt5rXTTWNvUgOrdynKg": { "timestamp": 1492553961812, "since": 1492553906606, "rest_actions": { "org.elasticsearch.rest.action.admin.cluster.RestNodesUsageAction": 1, "org.elasticsearch.rest.action.admin.indices.RestCreateIndexAction": 1, "org.elasticsearch.rest.action.document.RestGetAction": 1, "org.elasticsearch.rest.action.search.RestSearchAction": 19, "org.elasticsearch.rest.action.admin.cluster.RestNodesInfoAction": 36 } } } }