# Get node statistics
**GET /_nodes/{node_id}/stats/{metric}/{index_metric}**
**All methods and paths for this operation:**
GET
/_nodes/stats
GET
/_nodes/stats/{metric}
GET
/_nodes/{node_id}/stats
GET
/_nodes/{node_id}/stats/{metric}
GET
/_nodes/stats/{metric}/{index_metric}
GET
/_nodes/{node_id}/stats/{metric}/{index_metric}
Get statistics for nodes in a cluster.
By default, all stats are returned. You can limit the returned information by using metrics.
## Required authorization
* Cluster privileges: `monitor`,`manage`
## Servers
- http://api.example.com: http://api.example.com ()
## Authentication methods
- Api key auth
- Basic auth
- Bearer auth
## Parameters
### Path parameters
- **node_id** (string | array[string])
Comma-separated list of node IDs or names used to limit returned information.
- **metric** (string | array[string])
Limits the information returned to the specific metrics.
Supported values include: `_all`, `_none`, `indices`, `os`, `process`, `jvm`, `thread_pool`, `fs`, `transport`, `http`, `breaker`, `script`, `discovery`, `ingest`, `adaptive_selection`, `script_cache`, `indexing_pressure`, `repositories`, `allocations`
- **index_metric** (string | array[string])
Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.
Supported values include:
- `_all`: Return all statistics.
- `store`: Size of the index in byte units.
- `indexing`: Indexing statistics.
- `get`: Get statistics, including missing stats.
- `search`: Search statistics including suggest statistics.
You can include statistics for custom groups by adding an extra `groups` parameter
(search operations can be associated with one or more groups).
The `groups` parameter accepts a comma-separated list of group names.
Use `_all` to return statistics for all groups.
- `merge`: Merge statistics.
- `flush`: Flush statistics.
- `refresh`: Refresh statistics.
- `query_cache`: Query cache statistics.
- `fielddata`: Fielddata statistics.
- `docs`: Number of documents and deleted docs not yet merged out. Index refreshes can affect this statistic.
- `warmer`: Index warming statistics.
- `completion`: Completion suggester statistics.
- `segments`: Memory use of all open segments.
If the `include_segment_file_sizes` parameter is `true`, this metric includes the aggregated disk usage of each Lucene index file.
- `translog`: Translog statistics.
- `request_cache`: Shard request cache statistics.
- `recovery`: Recovery statistics.
- `bulk`: Bulk operations statistics.
- `shard_stats`: Shard statistics, including the total number of shards.
- `mappings`: Mapping statistics, including the total count and estimated overhead.
- `dense_vector`: Total number of dense vectors indexed. Index refreshes can affect this statistic.
- `sparse_vector`: Total number of sparse vectors indexed. Index refreshes can affect this statistic.
### Query parameters
- **completion_fields** (string | array[string])
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
- **fielddata_fields** (string | array[string])
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
- **fields** (string | array[string])
Comma-separated list or wildcard expressions of fields to include in the statistics.
- **groups** (boolean)
Comma-separated list of search groups to include in the search statistics.
- **include_segment_file_sizes** (boolean)
If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).
- **level** (string)
Indicates whether statistics are aggregated at the node, indices, or shards level.
- **timeout** (string)
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
- **types** (array[string])
A comma-separated list of document types for the indexing index metric.
- **include_unloaded_segments** (boolean)
If `true`, the response includes information from segments that are not loaded into memory.
## Responses
### 200
#### Body: application/json (object)
- **_nodes** (object)
Contains statistics about the number of nodes selected by the request’s node filters.
- **cluster_name** (string)
- **nodes** (object)
[Powered by Bump.sh](https://bump.sh)