Get node statistics Generally available
All methods and paths for this operation:
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
Path parameters
-
Comma-separated list of node IDs or names used to limit returned information.
-
Limit the information returned to the specified metrics
-
Limit the information returned for indices metric to the specific index metrics. It can be used only if indices (or all) metric is specified.
Query parameters
-
Comma-separated list or wildcard expressions of fields to include in fielddata and suggest statistics.
-
Comma-separated list or wildcard expressions of fields to include in fielddata statistics.
-
Comma-separated list or wildcard expressions of fields to include in the statistics.
-
Comma-separated list of search groups to include in the search statistics.
-
If true, the call reports the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested).
-
Indicates whether statistics are aggregated at the node, indices, or shards level.
Values are
node,indices, orshards. -
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
External documentation -
A comma-separated list of document types for the indexing index metric.
-
If
true, the response includes information from segments that are not loaded into memory.
GET _nodes/stats/process?filter_path=**.max_file_descriptors resp = client.nodes.stats( metric="process", filter_path="**.max_file_descriptors", ) const response = await client.nodes.stats({ metric: "process", filter_path: "**.max_file_descriptors", }); response = client.nodes.stats( metric: "process", filter_path: "**.max_file_descriptors" ) $resp = $client->nodes()->stats([ "metric" => "process", "filter_path" => "**.max_file_descriptors", ]); curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_nodes/stats/process?filter_path=**.max_file_descriptors"