anchor.diff:  +
   See <<cluster-health>>.
   
  -[NOTE]
  +[[cluster-stats-api-response-body-indices]]
  +`indices`::
  +(object)
  +Contains statistics about indices with shards assigned to selected nodes.
  ++
  +.Properties of `indices`
  +[%collapsible%open]
   ====
  -The remaining statistics are grouped by section.
  -====
  -
  -[[cluster-stats-api-response-body-indices]]
  -===== `indices` section
  -
  -[%collapsible]
  -====
  -`indices.count`::
  +`count`::
   (integer)
   Total number of indices with shards assigned to selected nodes.
   
  -`indices.shards.total`::
  +`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.
   
  -`indices.shards.primaries`::
  +`primaries`::
   (integer)
   Number of primary shards assigned to selected nodes.
   
  -`indices.shards.replication`::
  -(integer)
  +`replication`::
  +(float)
   Ratio of replica shards to primary shards across all selected nodes.
   
  -`indices.shards.index.shards.min`::
  +`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.
   
  -`indices.shards.index.shards.max`::
  +`max`::
   (integer)
   Maximum number of shards in an index, counting only shards assigned to
   selected nodes.
   
  -`indices.shards.index.shards.avg`::
  -(integer)
  +`avg`::
  +(float)
   Mean number of shards in an index, counting only shards assigned to
   selected nodes.
  -
  -`indices.shards.index.primaries.min`::
  +=======
  +
  +`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.
   
  -`indices.shards.index.primaries.max`::
  +`max`::
   (integer)
   Maximum number of primary shards in an index, counting only shards assigned
   to selected nodes.
   
  -`indices.shards.index.primaries.avg`::
  -(integer)
  +`avg`::
  +(float)
   Mean number of primary shards in an index, counting only shards assigned to
   selected nodes.
  -
  -`indices.shards.index.replication.min`::
  -(integer)
  +=======
  +
  +`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.
   
  -`indices.shards.index.replication.max`::
  -(integer)
  +`max`::
  +(float)
   Maximum replication factor in an index, counting only shards assigned to
   selected nodes.
   
  -`indices.shards.index.replication.avg`::
  -(integer)
  +`avg`::
  +(float)
   Mean replication factor in an index, counting only shards assigned to selected
   nodes.
  -
  -`indices.docs.count`::
  +=======
  +======
  +=====
  +
  +`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.
  
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: Depending on OS or process-level restrictions, this number may be less than
  `nodes.fs.free_in_byes`. This is the actual amount of free disk space the
  selected {es} nodes can use.
  =====
  
  `plugins`::
  (array of objects)
  Contains statistics about installed plugins and modules by selected nodes.
  +
  If no plugins or modules are installed, this array is empty.
  +
  .Properties of `plugins`
  [%collapsible%open]
  =====
  
  `<plugin>`::
  (object)
  Contains statistics about an installed plugin or module.
  +
  .Properties of `<plugin>`
  [%collapsible%open]
  ======
  `name`:::
  (string)
  Name of the {es} plugin.
  
  `version`:::
  (string)
  {es} version for which the plugin was built.
  
  `elasticsearch_version`:::
  (string)
  {es} version for which the plugin was built.
  
  `java_version`:::
  (string)
  Java version for which the plugin was built.
  
  `description`:::
  (string)
  Short description of the plugin.
  
  `classname`:::
  (string)
  Class name used as the plugin's entry point.
  
  `extended_plugins`:::
  (array of strings)
  An array of other plugins extended by this plugin through the Java Service
  Provider Interface (SPI).
  +
  If this plugin extends no other plugins, this array is empty.
  
  `has_native_controller`:::
  (boolean)
  If `true`, the plugin has a native controller process.
  ======
  =====
  
  `network_types`::
  (object)
  Contains statistics about the transport and HTTP networks used by selected
  nodes.
  +
  .Properties of `network_types`
  [%collapsible%open]
  =====
  `transport_types`::
  (object)
  Contains statistics about the transport network types used by selected nodes.
  +
  .Properties of `transport_types`
  [%collapsible%open]
  ======
  `<transport_type>`::
  (integer)
  Number of selected nodes using the transport type.
  ======
  
  `http_types`::
  (object)
  Contains statistics about the HTTP network types used by selected nodes.
  +
  .Properties of `http_types`
  [%collapsible%open]
  ======
  `<http_type>`::
  (integer)
  Number of selected nodes using the HTTP type.
  ======
  =====
  
  `discovery_types`::
  (object)
  Contains statistics about the <<modules-discovery-hosts-providers,discovery
  types>> used by selected nodes.
  +
  .Properties of `discovery_types`
  [%collapsible%open]
  =====
  `<discovery_type>`::
  (integer)
  Number of selected nodes using the <<modules-discovery-hosts-providers,discovery
  type>> to find other nodes.
  =====
  
  `packaging_types`::
  (array of objects)
  Contains statistics about {es} distributions installed on selected nodes.
  +
  .Properties of `packaging_types`
  [%collapsible%open]
  =====
  `flavor`:::
  (string)
  Type of {es} distribution, such as `default` or `OSS`, used by one or more
  selected nodes.
  
  `type`:::
  (string)
  File type, such as `tar` or `zip`, used for the distribution package.
  
  `count`:::
  (integer)
  Number of selected nodes using the distribution flavor and file type.
  =====
  ====
  
  [[cluster-stats-api-example]]
  