cluster.statsedit

client.cluster.stats({
  node_id: string | string[],
  flat_settings: boolean,
  timeout: string
})

Reference

node_id or nodeId

string | string[] - 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

flat_settings or flatSettings

boolean - Return settings in flat format (default: false)

timeout

string - Explicit operation timeout