# Elastic monitoring default retention period

**URL:** https://discuss.elastic.co/t/elastic-monitoring-default-retention-period/330723
**Category:** Elasticsearch
**Tags:** elastic-stack-monitoring
**Created:** [April 25, 2023, 9:57am UTC](https://discuss.elastic.co/t/elastic-monitoring-default-retention-period/330723 "2023-04-25T09:57:54Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Mateusz\_Migala](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mateusz_migala/32/110541_2.png) [@Mateusz\_Migala](https://discuss.elastic.co/u/Mateusz_Migala)
#### Post date: [April 25, 2023, 9:57am UTC](https://discuss.elastic.co/t/elastic-monitoring-default-retention-period/330723/1 "2023-04-25T09:57:54Z")

</div>

Hey,

If I ship the metrics and logs to Elastic monitoring cluster using this feature:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/8/58d12e07d37608bf0eecc3e43e2c2c125a739fac.png)

What is the default retention period for this data and how can I modify it ? I've found some threads in the forum where this question was asked but most of the links move to documentation that says is deprecated.

---

<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: [May 23, 2023, 9:58am UTC](https://discuss.elastic.co/t/elastic-monitoring-default-retention-period/330723/2 "2023-05-23T09:58:16Z")

</div>

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