Get node information
Unreleased This version is not released yet and can change. View the latest version (v9)
By default, the API returns all attributes and core settings for cluster nodes.
Required privileges
monitor
manage
Path parameters
-
node_idunion string | string[]optional -
Comma-separated list of node IDs or names used to limit returned information.
Leave it out to use
/_nodes. -
metricunion enum | enum[]optional -
Limits the information returned to the specific metrics. Supports a comma-separated list, such as http,ingest.
Supported values include:
_all,_none,settings,os,process,jvm,thread_pool,transport,http,remote_cluster_server,plugins,ingest,aggregations,indicesLeave it out to use
/_nodes. -
Values:
_all_nonesettingsosprocessjvmthread_pooltransporthttpremote_cluster_serverpluginsingestaggregationsindices
Responses
-
nodesmap string to objectrequired -
<string>object -
rolesenum[]required -
Values:
masterdatadata_colddata_contentdata_frozendata_hotdata_warmclientingestmlvoting_onlytransformremote_cluster_clientcoordinating_only -
settingsobject -
clusterobjectrequired -
routingobject -
allocationobject -
requireobject -
Assign the index to a node whose attribute has all of the given values. Each key is a node attribute: one of the built-in attributes
_name,_host_ip,_publish_ip,_ip,_host,_idand_tier, or a custom node attribute. Each value is a comma-separated string or an array of strings, and can use wildcards. -
total_indexing_buffernumber -
Total heap allowed to be used to hold recently indexed documents before they must be written to disk. This size is a shared pool across all shards on this node, and is controlled by Indexing Buffer settings.
-
total_indexing_buffer_in_bytesnumber | string -
Same as total_indexing_buffer, but expressed in bytes.
-
modulesobject[] -
Same fields as
pluginsinnodes