# Syncing two elasticsearch clusters

**URL:** <https://discuss.elastic.co/t/syncing-two-elasticsearch-clusters/14242>\
**Category:** Elasticsearch\
**Created:** [November 4, 2013, 1:57pm UTC](https://discuss.elastic.co/t/syncing-two-elasticsearch-clusters/14242 "2013-11-04T13:57:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eugene\_Strokin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eugene_strokin/32/1238_2.png) [@Eugene\_Strokin](https://discuss.elastic.co/u/Eugene_Strokin)\
**Post date:** [November 4, 2013, 1:57pm UTC](https://discuss.elastic.co/t/syncing-two-elasticsearch-clusters/14242/1 "2013-11-04T13:57:14Z")

</div>

Hello, my problem is that I need to suport second cluster of ES which has  
different version, different document structure, but the same data from the  
first ES.  
The data is coming to the first cluster, and I need to take that data,  
restructure it, and push it to the second ES.  
What would be the best approach?  
Any suggestion or help is greatly appreciated.  
Thank you,  
Eugene

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [November 14, 2013, 8:50am UTC](https://discuss.elastic.co/t/syncing-two-elasticsearch-clusters/14242/2 "2013-11-14T08:50:58Z")

</div>

Hey,

check out the scan search type, which would allow you do to that using a  
small script in whatever scripting language you prefer. See

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

--Alex

On Mon, Nov 4, 2013 at 2:57 PM, Eugene Strokin [eugene@strokin.info](mailto:eugene@strokin.info) wrote:

> Hello, my problem is that I need to suport second cluster of ES which has  
> different version, different document structure, but the same data from the  
> first ES.  
> The data is coming to the first cluster, and I need to take that data,  
> restructure it, and push it to the second ES.  
> What would be the best approach?  
> Any suggestion or help is greatly appreciated.  
> Thank you,  
> Eugene
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Eugene\_Strokin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eugene_strokin/32/1238_2.png) [@Eugene\_Strokin](https://discuss.elastic.co/u/Eugene_Strokin)\
**Post date:** [November 14, 2013, 1:40pm UTC](https://discuss.elastic.co/t/syncing-two-elasticsearch-clusters/14242/3 "2013-11-14T13:40:09Z")

</div>

Alex, thank you for your help. But what about updates and deletes? I have hundred millions documents, I'm sure it will take time to import and during that time will be deletes and updates of the documents which will be already imported, and the changes will be lost. Do you have any idea about that?  
Thanks,  
Eugene

On Nov 14, 2013, at 3:50 AM, Alexander Reelsen [alr@spinscale.de](mailto:alr@spinscale.de) wrote:

> Hey,
> 
> check out the scan search type, which would allow you do to that using a small script in whatever scripting language you prefer. See
> 
> [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-search-type.html#scan)
> 
> --Alex
> 
> On Mon, Nov 4, 2013 at 2:57 PM, Eugene Strokin [eugene@strokin.info](mailto:eugene@strokin.info) wrote:  
> Hello, my problem is that I need to suport second cluster of ES which has different version, different document structure, but the same data from the first ES.  
> The data is coming to the first cluster, and I need to take that data, restructure it, and push it to the second ES.  
> What would be the best approach?  
> Any suggestion or help is greatly appreciated.  
> Thank you,  
> Eugene
> 
> --  
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> You received this message because you are subscribed to a topic in the Google Groups "elasticsearch" group.  
> To unsubscribe from this topic, visit [https://groups.google.com/d/topic/elasticsearch/T435WEMFkms/unsubscribe](https://groups.google.com/d/topic/elasticsearch/T435WEMFkms/unsubscribe).  
> To unsubscribe from this group and all its topics, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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:** [July 6, 2017, 2:07am UTC](https://discuss.elastic.co/t/syncing-two-elasticsearch-clusters/14242/4 "2017-07-06T02:07:00Z")

</div>


