# Metricbeat logs in messages

**URL:** https://discuss.elastic.co/t/metricbeat-logs-in-messages/223558
**Category:** Metrics
**Created:** [March 13, 2020, 6:05pm UTC](https://discuss.elastic.co/t/metricbeat-logs-in-messages/223558 "2020-03-13T18:05:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Surendra\_Gupta](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/surendra_gupta/32/64431_2.png) [@Surendra\_Gupta](https://discuss.elastic.co/u/Surendra_Gupta)
#### Post date: [March 13, 2020, 6:05pm UTC](https://discuss.elastic.co/t/metricbeat-logs-in-messages/223558/1 "2020-03-13T18:05:26Z")

</div>

Hi I am getting error in beat and it is stored in **/var/log/messages** and with 1.GB per day so how can i restrict the logs to enter into it

---

<div class="post-metadata">

### Author: ![Kerry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kerry/32/40330_2.png) [@Kerry](https://discuss.elastic.co/u/Kerry)
#### Post date: [March 16, 2020, 10:43am UTC](https://discuss.elastic.co/t/metricbeat-logs-in-messages/223558/2 "2020-03-16T10:43:12Z")

</div>

Hi @Surendra_Gupta,

If I understand correctly Metricbeat is logging too much, and this is using up too much space?

You can [configure logging](https://www.elastic.co/guide/en/beats/metricbeat/current/configuration-logging.html#configuration-logging), however it's not possible to set a log level lower than _error_, so this probably won't solve your issue. It would be best to address the error itself.

---

<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: [April 13, 2020, 10:43am UTC](https://discuss.elastic.co/t/metricbeat-logs-in-messages/223558/3 "2020-04-13T10:43:17Z")

</div>

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