# Automatically move old documents from a index, to a new index, without deleting the original index

**URL:** https://discuss.elastic.co/t/automatically-move-old-documents-from-a-index-to-a-new-index-without-deleting-the-original-index/316161
**Category:** Kibana
**Tags:** reindex
**Created:** [October 10, 2022, 1:31am UTC](https://discuss.elastic.co/t/automatically-move-old-documents-from-a-index-to-a-new-index-without-deleting-the-original-index/316161 "2022-10-10T01:31:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jinlauter94](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jinlauter94/32/111859_2.png) [@jinlauter94](https://discuss.elastic.co/u/jinlauter94)
#### Post date: [October 10, 2022, 1:31am UTC](https://discuss.elastic.co/t/automatically-move-old-documents-from-a-index-to-a-new-index-without-deleting-the-original-index/316161/1 "2022-10-10T01:31:01Z")

</div>

There is a lot of helpful documents showing how to turn a hot index into a warm or cold one. But, in my case, I have a lot of independent applications that do the "same" thing, and can be very different. I would like to send the documents logs of all of the applications (all of them having the same fields) to the same index, so that I can create comparing visualizations with these documents. But, and here is the catch, I would like to keep this original index, and periodically MOVE the old documents to an specific index that holds only these old documents. I read about the rollover and rollup actions that we can do, creating policies. But I am not really sure if they can to this, or can they??

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [October 10, 2022, 10:24pm UTC](https://discuss.elastic.co/t/automatically-move-old-documents-from-a-index-to-a-new-index-without-deleting-the-original-index/316161/2 "2022-10-10T22:24:12Z")

</div>

Welcome to our community! 😃

There's no way for Elasticsearch to do this natively for you, you will need to build something external to Elasticsearch to do it.

---

<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: [November 7, 2022, 10:24pm UTC](https://discuss.elastic.co/t/automatically-move-old-documents-from-a-index-to-a-new-index-without-deleting-the-original-index/316161/3 "2022-11-07T22:24:26Z")

</div>

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