nodes.statsedit

client.nodes.stats([params, [callback]])

Check the API Conventions and the elasticsearch docs for more information pertaining to this method.

Params

completionFields

String, String[], Boolean — A comma-separated list of fields for fielddata and suggest index metric (supports wildcards)

fielddataFields

String, String[], Boolean — A comma-separated list of fields for fielddata index metric (supports wildcards)

fields

String, String[], Boolean — A comma-separated list of fields for fielddata and completion index metric (supports wildcards)

groups

Boolean — A comma-separated list of search groups for search index metric

[level=node]

String — Return indices stats aggregated at index, node or shard level

Options
  • "indices"
  • "node"
  • "shards"

types

String, String[], Boolean — A comma-separated list of document types for the indexing index metric

timeout

DurationString — Explicit operation timeout

includeSegmentFileSizes

Boolean — Whether to report the aggregated disk usage of each one of the Lucene index files (only applies if segment stats are requested)

metric

String, String[], Boolean — Limit the information returned to the specified metrics

indexMetric

String, String[], Boolean — Limit the information returned for indices metric to the specific index metrics. Isn’t used if indices (or all) metric isn’t specified.

nodeId

String, String[], Boolean — A comma-separated list of node IDs or names to limit the returned information; use _local to return information from the node you’re connecting to, leave empty to get information from all nodes

back to top