anchor.diff:  [float]
   [[monitoring-collection-settings]]
   ==== Monitoring Collection Settings
  +
  +The `xpack.monitoring.collection` settings control how data is collected from
  +your Elasticsearch nodes.
   
   `xpack.monitoring.collection.cluster.state.timeout`::
   
  
positive.code: 
  Sets the timeout for collecting total indices statistics. Defaults to `10m`.
  
  `xpack.monitoring.exporters` ::
  
  Configures where the agent stores monitoring data. By default, the agent uses a local exporter that
  indexes monitoring data on the cluster where it is installed. Use an HTTP exporter to send data to
  a separate monitoring cluster. For more information, see {xpack-ref}/monitoring-cluster.html[Setting
  up a Separate Monitoring Cluster].
  
  `xpack.monitoring.collection.index.recovery.active_only`::
  
  Controls whether or not all recoveries are collected. Set to `true` to
  
negative.code: [[monitoring-settings]]
  ===  Monitoring Settings
  
  Monitoring is enabled by default when you install {xpack}. You can configure
  these monitoring settings in the `elasticsearch.yml` file.
  
  To adjust how monitoring data is displayed in the monitoring UI, configure
  {kibana-ref}/monitoring-settings-kb.html[`xpack.monitoring` settings] in
  `kibana.yml`. To control how monitoring data is collected from
  Logstash, configure {logstash-ref}/settings-xpack.html#monitoring-settings[
  `xpack.monitoring` settings] in `logstash.yml`.
  
  For more information, see
  {xpack-ref}/xpack-monitoring.html[Monitoring the Elastic Stack].
  