# Is there a way I can store recent data on partitions?

**URL:** <https://discuss.elastic.co/t/is-there-a-way-i-can-store-recent-data-on-partitions/353581>\
**Category:** Elasticsearch\
**Created:** [February 19, 2024, 11:39am UTC](https://discuss.elastic.co/t/is-there-a-way-i-can-store-recent-data-on-partitions/353581 "2024-02-19T11:39:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravi\_Pattar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_pattar/32/124209_2.png) [@Ravi\_Pattar](https://discuss.elastic.co/u/Ravi_Pattar)\
**Post date:** [February 19, 2024, 11:39am UTC](https://discuss.elastic.co/t/is-there-a-way-i-can-store-recent-data-on-partitions/353581/1 "2024-02-19T11:39:57Z")

</div>

Hello,

Is there a way so that I can have ELK keep say the last 50 or more GB on one partition and everything else on a different partition? In general I was thinking of putting all recent logs on SSD and after X age/time or after X new GB comes move that "older" data to another spinner drive.

Thanks,  
Ravi

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [February 19, 2024, 11:43am UTC](https://discuss.elastic.co/t/is-there-a-way-i-can-store-recent-data-on-partitions/353581/2 "2024-02-19T11:43:58Z")

</div>

> [@Ravi\_Pattar](#):
>
> In general I was thinking of putting all recent logs on SSD and after X age/time or after X new GB comes move that "older" data to another spinner drive.

No, this is not possible.

---

<div class="post-metadata">

**Author:** ![Ravi\_Pattar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ravi_pattar/32/124209_2.png) [@Ravi\_Pattar](https://discuss.elastic.co/u/Ravi_Pattar)\
**Post date:** [February 19, 2024, 1:23pm UTC](https://discuss.elastic.co/t/is-there-a-way-i-can-store-recent-data-on-partitions/353581/3 "2024-02-19T13:23:17Z")

</div>

Thanks @leandrojmp

---

<div class="post-metadata">

**Author:** ![intrepid1](https://avatars.discourse-cdn.com/v4/letter/i/dbc845/32.png) [@intrepid1](https://discuss.elastic.co/u/intrepid1)\
**Post date:** [February 19, 2024, 2:02pm UTC](https://discuss.elastic.co/t/is-there-a-way-i-can-store-recent-data-on-partitions/353581/4 "2024-02-19T14:02:12Z")

</div>

Could you not use ILM and hot/warm tiers to move data from on tier to another after a given time period?

---

<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:** [March 18, 2024, 2:03pm UTC](https://discuss.elastic.co/t/is-there-a-way-i-can-store-recent-data-on-partitions/353581/5 "2024-03-18T14:03:07Z")

</div>

Closed on March 18, 2024, 2:03pm UTC

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