# Reindex data into smallers index

**URL:** <https://discuss.elastic.co/t/reindex-data-into-smallers-index/217336>\
**Category:** Elasticsearch\
**Created:** [January 31, 2020, 9:28am UTC](https://discuss.elastic.co/t/reindex-data-into-smallers-index/217336 "2020-01-31T09:28:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![LuigiDelavega](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@LuigiDelavega](https://discuss.elastic.co/u/LuigiDelavega)\
**Post date:** [January 31, 2020, 9:28am UTC](https://discuss.elastic.co/t/reindex-data-into-smallers-index/217336/1 "2020-01-31T09:28:32Z")

</div>

Hello,

I'm looking to aggregate index data to new smallers indexes. I will try to explain myself quickly :

I'm getting CPU infos every 30 seconds in A-Index pour real time monitoring. After a week, i would like to get those CPU infos of the week, but only every 10 minutes by calculating the mean, because i don't need that much precision anymore. So i would like to store those 10 minutes period infos in an B-Index to keep those important infos, and to lower the size of my index at the same time.

I would like to add that i went on topics about reindex, but from A-Index to B-Index, people had the same size and im not looking for this. Otherwise, i'm sorry for my bad english, i hope i was clear and you will be able to help me.

Have a good day.

Louis.

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [January 31, 2020, 12:02pm UTC](https://discuss.elastic.co/t/reindex-data-into-smallers-index/217336/2 "2020-01-31T12:02:53Z")

</div>

Hi @LuigiDelavega,

using [rollup](https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-rollup.html) sounds like the best fit. Unfortunately it is still in experimental status, so depends on your appetite for using experimental features.

---

<div class="post-metadata">

**Author:** ![LuigiDelavega](https://avatars.discourse-cdn.com/v4/letter/l/9de0a6/32.png) [@LuigiDelavega](https://discuss.elastic.co/u/LuigiDelavega)\
**Post date:** [January 31, 2020, 3:43pm UTC](https://discuss.elastic.co/t/reindex-data-into-smallers-index/217336/3 "2020-01-31T15:43:30Z")

</div>

Hi @HenningAndersen,

Thanks a lot for your answer, i will try them soon and keep you informed if u want. Do you know approximatively when it will be known if this option will be staying or not in the stack ?

Louis.

---

<div class="post-metadata">

**Author:** ![HenningAndersen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/henningandersen/32/48188_2.png) [@HenningAndersen](https://discuss.elastic.co/u/HenningAndersen)\
**Post date:** [February 1, 2020, 4:16pm UTC](https://discuss.elastic.co/t/reindex-data-into-smallers-index/217336/4 "2020-02-01T16:16:23Z")

</div>

Hi @LuigiDelavega,

there is a meta issue for rollup [here](https://github.com/elastic/elasticsearch/issues/42720), I would encourage you to follow the progress on that.

---

<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:** [February 29, 2020, 4:16pm UTC](https://discuss.elastic.co/t/reindex-data-into-smallers-index/217336/5 "2020-02-29T16:16:23Z")

</div>

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