# Kibana\_stats not collected when disabling telemetry

**URL:** <https://discuss.elastic.co/t/kibana-stats-not-collected-when-disabling-telemetry/247582>\
**Category:** Kibana\
**Created:** [September 4, 2020, 6:30pm UTC](https://discuss.elastic.co/t/kibana-stats-not-collected-when-disabling-telemetry/247582 "2020-09-04T18:30:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harm](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Harm](https://discuss.elastic.co/u/Harm)\
**Post date:** [September 4, 2020, 6:30pm UTC](https://discuss.elastic.co/t/kibana-stats-not-collected-when-disabling-telemetry/247582/1 "2020-09-04T18:30:32Z")

</div>

Hi,

Today I noticed something strange in the data collection from Kibana. I'm currently using version 7.8.1 and have monitoring and collection enabled via:

```auto
monitoring.enabled: true
monitoring.kibana.collection.enabled: true

```

This configuration worked fine, until i disabled the collection of telemetry stats via:

```auto
telemetry.enabled: false

```

As soon as I made this change (and I can revert it as well), only one kibana\_stats event was collected after the restart containing a lot of usage details. But from then on the original kibana\_stats (with load, requests, etc) are not collected anymore.

I'd say this is a bug. Anyone who could confirm this? Or did I miss something? 🙂

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [September 4, 2020, 9:40pm UTC](https://discuss.elastic.co/t/kibana-stats-not-collected-when-disabling-telemetry/247582/2 "2020-09-04T21:40:07Z")

</div>

cc @christiane.heiligers@elastic.co @Bamieh

---

<div class="post-metadata">

**Author:** ![afharo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/afharo/32/75202_2.png) [@afharo](https://discuss.elastic.co/u/afharo)\
**Post date:** [September 7, 2020, 8:55am UTC](https://discuss.elastic.co/t/kibana-stats-not-collected-when-disabling-telemetry/247582/3 "2020-09-07T08:55:31Z")

</div>

Hi @Harm,

You are totally right! It is definitely a bug and it's already fixed in the 7.9 series.

For 7.8, there is a workaround: Keep telemetry enabled (this way the plugin will be initialised and the stats collector used for monitoring will work), but opt-out from sending any telemetry (so we don't report any telemetry to our servers). The settings are:

```
telemetry.enabled: true
telemetry.optIn: false

```

For more info about this and other telemetry settings, please, refer to the documentation at [https://www.elastic.co/guide/en/kibana/7.8/telemetry-settings-kbn.html](https://www.elastic.co/guide/en/kibana/7.8/telemetry-settings-kbn.html)

I hope this works for you.

---

<div class="post-metadata">

**Author:** ![Harm](https://avatars.discourse-cdn.com/v4/letter/h/b4bc9f/32.png) [@Harm](https://discuss.elastic.co/u/Harm)\
**Post date:** [September 7, 2020, 9:31am UTC](https://discuss.elastic.co/t/kibana-stats-not-collected-when-disabling-telemetry/247582/4 "2020-09-07T09:31:53Z")

</div>

Thanks for your quick response. The workaround works fine for now.  
We'll upgrade soon ! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 5, 2020, 9:32am UTC](https://discuss.elastic.co/t/kibana-stats-not-collected-when-disabling-telemetry/247582/5 "2020-10-05T09:32:22Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
