# How can I store the average of CPU,Memory,Disk data of one day in some logs

**URL:** <https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112>\
**Category:** Metrics\
**Created:** [August 4, 2023, 7:45am UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112 "2023-08-04T07:45:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![AkshayP21296](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@AkshayP21296](https://discuss.elastic.co/u/AkshayP21296)\
**Post date:** [August 4, 2023, 7:45am UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112/1 "2023-08-04T07:45:45Z")

</div>

Hello Sir,  
I am using metricbeat for infra monitoring but as it is consuming so much data do we have the option to store the average of a complete day in only few logs .

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 6, 2023, 5:40pm UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112/2 "2023-08-06T17:40:47Z")

</div>

Hi @AkshayP21296

What version are you on?

Perhaps take a look at this the new TSDS. It is exactly for the use in case you were talking about.

There is roll up in those kind of things coming as well.

> **[How to use Elasticsearch and Time Series Data Streams for observability metrics](https://www.elastic.co/blog/elasticsearch-time-series-data-streams-observability-metrics)**
>
> With Time Series Data Streams (TSDS), Elasticsearch introduces optimized storage for metrics time series. Check out how we use it for Elastic Observability.

> **[Time series data stream (TSDS) | Elasticsearch Guide \[8.9\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html)**

EDIT : Removed metricbeat information, Metricbeat does not series TSDS / TSDB at this time.

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 7, 2023, 2:36pm UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112/3 "2023-08-07T14:36:53Z")

</div>

Elastic Agent : Already Support TSDS out of the box for System Metrics

---

<div class="post-metadata">

**Author:** ![carlosaya](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carlosaya/32/124917_2.png) [@carlosaya](https://discuss.elastic.co/u/carlosaya)\
**Post date:** [August 24, 2023, 3:12am UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112/4 "2023-08-24T03:12:30Z")

</div>

Are there any plans to add this capability to metricbeat in the future?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [August 24, 2023, 6:04am UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112/5 "2023-08-24T06:04:25Z")

</div>

Hi @carlosaya welcome to the community.

I do not think TSDB is currently in the roadmap/ backlog for metricbeat

---

<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:** [September 21, 2023, 6:04am UTC](https://discuss.elastic.co/t/how-can-i-store-the-average-of-cpu-memory-disk-data-of-one-day-in-some-logs/340112/6 "2023-09-21T06:04:58Z")

</div>

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