anchor.diff:  
   include::{docdir}/rest-api/common-parms.asciidoc[tag=timeout]
   
  +[role="child_attributes"]
   [[cluster-stats-api-response-body]]
   ==== {api-response-body-title}
   
  -`_nodes.total`::
  -(integer)
  -Total number of nodes selected by the request's <<cluster-nodes,node filters>>.
  -
  -`_nodes.successful`::
  +`_nodes`::
  +(object)
  +Contains statistics about the number of nodes selected by the request's
  +<<cluster-nodes,node filters>>.
  ++
  +.Properties of `_nodes`
  +[%collapsible%open]
  +====
  +`total`::
  +(integer)
  +Total number of nodes selected by the request.
  +
  +`successful`::
   (integer)
   Number of nodes that responded successfully to the request.
   
  -`_nodes.failed`::
  +`failed`::
   (integer)
   Number of nodes that rejected the request or failed to respond. If this value
   is not `0`, a reason for the rejection or failure is included in the response.
  +====
   
   `cluster_name`::
   (string)
  
positive.code: Fixed bit sets are used for nested object field types and
  type filters for <<parent-join,join>> fields.
  
  `indices.segments.fixed_bit_set_memory_in_bytes`::
  (integer)
  Total amount of memory, in bytes, used by fixed bit sets across all shards
  assigned to selected nodes.
  
  `indices.segments.max_unsafe_auto_id_timestamp`::
  (integer)
  https://en.wikipedia.org/wiki/Unix_time[Unix timestamp], in milliseconds, of
  the most recently retried indexing request.
  
  `indices.segments.file_sizes`::
  (object)
  This object is not populated by the cluster stats API.
  +
  To get information on segment files, use the <<cluster-nodes-stats,node stats
  API>>.
  ====
  
  [[cluster-stats-api-response-body-nodes]]
  ===== `nodes` section
  
  [%collapsible]
  ====
  `nodes.count.total`::
  (integer)
  Total number of nodes selected by the request's <<cluster-nodes,node filters>>.
  
  `nodes.count.coordinating_only`::
  (integer)
  Number of selected nodes without a <<modules-node,role>>. These nodes are
  considered <<coordinating-only-node,coordinating only>> nodes.
  
  `nodes.count.<role>`::
  (integer)
  Number of selected nodes with the role. For a list of roles, see
  <<modules-node>>.
  
  `nodes.versions`::
  (array of strings)
  Array of {es} versions used on selected nodes.
  
  `nodes.os.available_processors`::
  (integer)
  Number of processors available to JVM across all selected nodes.
  
  `nodes.os.allocated_processors`::
  (integer)
  Number of processors used to calculate thread pool size across all selected
  nodes.
  
negative.code: +
  See <<cluster-health>>.
  
  [[cluster-stats-api-response-body-indices]]
  `indices`::
  (object)
  Contains statistics about indices with shards assigned to selected nodes.
  +
  .Properties of `indices`
  [%collapsible%open]
  ====
  `count`::
  (integer)
  Total number of indices with shards assigned to selected nodes.
  
  `shards`::
  (object)
  Contains statistics about shards assigned to selected nodes.
  +
  .Properties of `shards`
  [%collapsible%open]
  =====
  `total`::
  (integer)
  Total number of shards assigned to selected nodes.
  
  `primaries`::
  (integer)
  Number of primary shards assigned to selected nodes.
  
  `replication`::
  (float)
  Ratio of replica shards to primary shards across all selected nodes.
  
  `index`::
  (object)
  Contains statistics about shards assigned to selected nodes.
  +
  .Properties of `index`
  [%collapsible%open]
  ======
  `shards`::
  (object)
  Contains statistics about the number of shards assigned to selected nodes.
  +
  .Properties of `shards`
  [%collapsible%open]
  =======
  `min`::
  (integer)
  Minimum number of shards in an index, counting only shards assigned to
  selected nodes.
  
  `max`::
  (integer)
  Maximum number of shards in an index, counting only shards assigned to
  selected nodes.
  
  `avg`::
  (float)
  Mean number of shards in an index, counting only shards assigned to
  selected nodes.
  =======
  
  `primaries`::
  (object)
  Contains statistics about the number of primary shards assigned to selected
  nodes.
  +
  .Properties of `primaries`
  [%collapsible%open]
  =======
  `min`::
  (integer)
  Minimum number of primary shards in an index, counting only shards assigned
  to selected nodes.
  
  `max`::
  (integer)
  Maximum number of primary shards in an index, counting only shards assigned
  to selected nodes.
  
  `avg`::
  (float)
  Mean number of primary shards in an index, counting only shards assigned to
  selected nodes.
  =======
  
  `replication`::
  (object)
  Contains statistics about the number of replication shards assigned to selected
  nodes.
  +
  .Properties of `replication`
  [%collapsible%open]
  =======
  `min`::
  (float)
  Minimum replication factor in an index, counting only shards assigned to
  selected nodes.
  
  `max`::
  (float)
  Maximum replication factor in an index, counting only shards assigned to
  selected nodes.
  
  `avg`::
  (float)
  Mean replication factor in an index, counting only shards assigned to selected
  nodes.
  =======
  ======
  =====
  
  `docs`::
  (object)
  Contains counts for documents in selected nodes.
  +
  .Properties of `docs`
  [%collapsible%open]
  =====
  `count`::
  (integer)
  Total number of non-deleted documents across all primary shards assigned to
  selected nodes.
  