<commit_before>[[cluster-nodes-info]]
=== Nodes info API
++++
<titleabbrev>Nodes info</titleabbrev>
++++

Returns cluster nodes information.


[[cluster-nodes-info-api-request]]
==== {api-request-title}

`GET /_nodes` +

`GET /_nodes/<node_id>` +

`GET /_nodes/<metric>` +

`GET /_nodes/<node_id>/<metric>`


[[cluster-nodes-info-api-desc]]
==== {api-description-title}

The cluster nodes info API allows to retrieve one or more (or all) of
the cluster nodes information. All the nodes selective options are explained
<<cluster-nodes,here>>.

By default, it returns all attributes and core settings for a node.


[[cluster-nodes-info-api-path-params]]
==== {api-path-parms-title}

`<metric>`::
		(Optional, string) Limits the information returned to the specific metrics.
		A comma-separated list of the following options:
+
--


`http`::
		HTTP connection information.

`ingest`::
		Statistics about ingest preprocessing.

`jvm`::
		JVM stats, memory pool information, garbage collection, buffer pools, number
		of loaded/unloaded classes.

`os`::
		Operating system stats, load average, mem, swap.

`plugins`::
		Details about the installed plugins and modules per node. The following
		information are available for each plugin and module:
+
---
		* `name`: plugin name
		* `version`: version of Elasticsearch the plugin was built for
		* `description`: short description of the plugin's purpose
		* `classname`: fully-qualified class name of the plugin's entry point
		* `has_native_controller`: whether or not the plugin has a native controller
		process
---

`process`::
		Process statistics, memory consumption, cpu usage, open file descriptors.

`settings`::


`thread_pool`::
		Statistics about each thread pool, including current size, queue and<commit_msg>[DOCS] Add description for node info settings. (#66362)<commit_after>[[cluster-nodes-info]]
=== Nodes info API
++++
<titleabbrev>Nodes info</titleabbrev>
++++

Returns cluster nodes information.


[[cluster-nodes-info-api-request]]
==== {api-request-title}

`GET /_nodes` +

`GET /_nodes/<node_id>` +

`GET /_nodes/<metric>` +

`GET /_nodes/<node_id>/<metric>`


[[cluster-nodes-info-api-desc]]
==== {api-description-title}

The cluster nodes info API allows to retrieve one or more (or all) of
the cluster nodes information. All the nodes selective options are explained
<<cluster-nodes,here>>.

By default, it returns all attributes and core settings for a node.


[[cluster-nodes-info-api-path-params]]
==== {api-path-parms-title}

`<metric>`::
		(Optional, string) Limits the information returned to the specific metrics.
		A comma-separated list of the following options:
+
--


`http`::
		HTTP connection information.

`ingest`::
		Statistics about ingest preprocessing.

`jvm`::
		JVM stats, memory pool information, garbage collection, buffer pools, number
		of loaded/unloaded classes.

`os`::
		Operating system stats, load average, mem, swap.

`plugins`::
		Details about the installed plugins and modules per node. The following
		information are available for each plugin and module:
+
---
		* `name`: plugin name
		* `version`: version of Elasticsearch the plugin was built for
		* `description`: short description of the plugin's purpose
		* `classname`: fully-qualified class name of the plugin's entry point
		* `has_native_controller`: whether or not the plugin has a native controller
		process
---

`process`::
		Process statistics, memory consumption, cpu usage, open file descriptors.

`settings`::
    Lists all node settings in use as defined in the `elasticsearch.yml` file.

`thread_pool`::
		Statistics about each thread pool, including current size, queue and
{'fraction_non_alphanumeric': 0.11877394636015326, 'fraction_numerical': 0.0013683634373289546, 'mean_word_length': 4.455223880597015, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5000427', 'n_tokens_mistral': 1133, 'n_tokens_neox': 1046, 'n_words': 402}