# Two Elasticsearch clusters in sync

**URL:** <https://discuss.elastic.co/t/two-elasticsearch-clusters-in-sync/222521>\
**Category:** Elasticsearch\
**Created:** [March 6, 2020, 10:11pm UTC](https://discuss.elastic.co/t/two-elasticsearch-clusters-in-sync/222521 "2020-03-06T22:11:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bharath\_Italapur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bharath_italapur/32/51588_2.png) [@Bharath\_Italapur](https://discuss.elastic.co/u/Bharath_Italapur)\
**Post date:** [March 6, 2020, 10:11pm UTC](https://discuss.elastic.co/t/two-elasticsearch-clusters-in-sync/222521/1 "2020-03-06T22:11:14Z")

</div>

Hi,

```
 Thank you in advance.

  Is there a way to keep two elasticsearch clusters in sync?

```

I have a 5.6 elasticsearch cluster which is getting data inserted through spark and I have another 7.6 elasticsearch cluster that is running and I want to keep the data in sync between the 2 clusters.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [March 10, 2020, 12:54pm UTC](https://discuss.elastic.co/t/two-elasticsearch-clusters-in-sync/222521/2 "2020-03-10T12:54:32Z")

</div>

Welcome!

> Is there a way to keep two elasticsearch clusters in sync?

Not really with the versions you have. It's possible with Cross Cluster Replication (CCR) in the 7.x series.

Otherwise, as you are writing data to Spark, you can may be have 2 logstash instances which read the same flow and send data to both clusters?

---

<div class="post-metadata">

**Author:** ![Bharath\_Italapur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bharath_italapur/32/51588_2.png) [@Bharath\_Italapur](https://discuss.elastic.co/u/Bharath_Italapur)\
**Post date:** [March 10, 2020, 8:56pm UTC](https://discuss.elastic.co/t/two-elasticsearch-clusters-in-sync/222521/3 "2020-03-10T20:56:06Z")

</div>

Thank you for the info. That's help full.

---

<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:** [April 7, 2020, 8:56pm UTC](https://discuss.elastic.co/t/two-elasticsearch-clusters-in-sync/222521/4 "2020-04-07T20:56:12Z")

</div>

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