# Disable stack monitoring in Kibana

**URL:** <https://discuss.elastic.co/t/disable-stack-monitoring-in-kibana/364131>\
**Category:** Kibana\
**Tags:** elastic-stack-monitoring\
**Created:** [July 31, 2024, 10:33am UTC](https://discuss.elastic.co/t/disable-stack-monitoring-in-kibana/364131 "2024-07-31T10:33:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cyanat](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@Cyanat](https://discuss.elastic.co/u/Cyanat)\
**Post date:** [July 31, 2024, 10:33am UTC](https://discuss.elastic.co/t/disable-stack-monitoring-in-kibana/364131/1 "2024-07-31T10:33:32Z")

</div>

Hello!  
I have wanted to see what monitoring of stack was offerring. As I don't have metricbeat installed, I chose a self monitoring.  
Now, I would like to revert this change and disable monitoring (because I'm afraid monitoring shards will be too important). In my cluster overview, I can enable the setup mode, but it only ofer me to switch to metricbeat, I didn't fine anyway to disable monitoring:

 ![Capture d'écran 2024-07-31 123224](https://us1.discourse-cdn.com/elastic/original/3X/a/1/a1bbfcc5967a418a1b90b970770820069d074349.png)

---

<div class="post-metadata">

**Author:** ![Musab\_Dogan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/musab_dogan/32/70691_2.png) [@Musab\_Dogan](https://discuss.elastic.co/u/Musab_Dogan)\
**Post date:** [July 31, 2024, 10:38am UTC](https://discuss.elastic.co/t/disable-stack-monitoring-in-kibana/364131/2 "2024-07-31T10:38:48Z")

</div>

You can use the following API call to disable the stack monitoring collection.

#set to false

```auto
PUT _cluster/settings
{
  "persistent": {
    "xpack.monitoring.collection.enabled": false
  }
}

```

#or you can set the default (false) with the following API call. (recommended)

```auto
PUT _cluster/settings
{
  "persistent": {
    "xpack.monitoring.collection.enabled": null
  },
  "transient": {
    "xpack.monitoring.collection.enabled": null
  }
}

```

#check if it's disabled

```auto
GET _cluster/settings?include_defaults&filter_path=defaults.xpack.monitoring.collection.enabled

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/6/7611257825047e3799120e4767f3f1fdc0957c28.jpeg)

> By default, Elasticsearch monitoring features are enabled but data collection is disabled. To enable/disable data collection, use the `xpack.monitoring.collection.enabled` setting.  
> Ref: [Monitoring settings in Elasticsearch | Elasticsearch Guide [8.14] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/monitoring-settings.html)

---

<div class="post-metadata">

**Author:** ![Cyanat](https://avatars.discourse-cdn.com/v4/letter/c/48db29/32.png) [@Cyanat](https://discuss.elastic.co/u/Cyanat)\
**Post date:** [July 31, 2024, 2:00pm UTC](https://discuss.elastic.co/t/disable-stack-monitoring-in-kibana/364131/3 "2024-07-31T14:00:05Z")

</div>

Many thanks! That's perfect.

---

<div class="post-metadata">

**Author:** ![Musab\_Dogan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/musab_dogan/32/70691_2.png) [@Musab\_Dogan](https://discuss.elastic.co/u/Musab_Dogan)\
**Post date:** [July 31, 2024, 2:04pm UTC](https://discuss.elastic.co/t/disable-stack-monitoring-in-kibana/364131/4 "2024-07-31T14:04:14Z")

</div>

You're welcome Cyanay. Happy to hear it worked!
