# Disable metrics logging in Elastic Agent managed by Fleet

**URL:** <https://discuss.elastic.co/t/disable-metrics-logging-in-elastic-agent-managed-by-fleet/290420>\
**Category:** Beats\
**Tags:** elastic-agent\
**Created:** [November 29, 2021, 10:28am UTC](https://discuss.elastic.co/t/disable-metrics-logging-in-elastic-agent-managed-by-fleet/290420 "2021-11-29T10:28:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nugroho-expereo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugroho-expereo/32/78333_2.png) [@nugroho-expereo](https://discuss.elastic.co/u/nugroho-expereo)\
**Post date:** [November 29, 2021, 10:28am UTC](https://discuss.elastic.co/t/disable-metrics-logging-in-elastic-agent-managed-by-fleet/290420/1 "2021-11-29T10:28:39Z")

</div>

Hi All,

We use Fleet managed Elastic Agent and have a lot of "Non-zero metrics in the last 30s" in our log that we want to remove.

Is there a way to disable that logging?

I see there is a new option in standalone elastic agent "agent.logging.metrics.enabled" but I could not find the option to disable it using Fleet UI.

> **[Configure logging for standalone Elastic Agents | Fleet and Elastic Agent...](https://www.elastic.co/guide/en/fleet/7.15/elastic-agent-standalone-logging-config.html)**

Thank you.

Regards,  
Nugroho

---

<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:** [December 27, 2021, 12:28pm UTC](https://discuss.elastic.co/t/disable-metrics-logging-in-elastic-agent-managed-by-fleet/290420/2 "2021-12-27T12:28:41Z")

</div>

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