# Reindex data to a new mapping

**URL:** <https://discuss.elastic.co/t/reindex-data-to-a-new-mapping/157391>\
**Category:** Elasticsearch\
**Created:** [November 19, 2018, 4:02pm UTC](https://discuss.elastic.co/t/reindex-data-to-a-new-mapping/157391 "2018-11-19T16:02:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlear](https://avatars.discourse-cdn.com/v4/letter/j/ea666f/32.png) [@jlear](https://discuss.elastic.co/u/jlear)\
**Post date:** [November 19, 2018, 4:02pm UTC](https://discuss.elastic.co/t/reindex-data-to-a-new-mapping/157391/1 "2018-11-19T16:02:17Z")

</div>

We have strict templates for our data but we are evolving and have some new data model ideas that we are working on experimenting with and need to have a way to perform an ETL type of operation from one cluster to another. I was wondering if something like this would be possible through a custom ingest plugin but I couldn't seem to easily figure out a way to change the shape of the ingest document. I was hoping I could do this on the fly as it would make moving data around and trial and error stuff easier now and in the future.

Is there a way to do this with a plugin or should I stick to a writing a separate app to do the ETL, or is there a better way that I'm not finding. I saw some documentation on the reindex API, but the model is rather large, and its going to be changing pretty drastically, so I wanted something a little easier to reuse going forward.

---

<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:** [December 17, 2018, 4:02pm UTC](https://discuss.elastic.co/t/reindex-data-to-a-new-mapping/157391/2 "2018-12-17T16:02:20Z")

</div>

Closed on December 17, 2018, 4:02pm UTC

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