# Cross-cluster replication

**URL:** <https://discuss.elastic.co/t/cross-cluster-replication/166665>\
**Category:** Elasticsearch\
**Tags:** ccr-cross-cluster-replication\
**Created:** [February 1, 2019, 3:53am UTC](https://discuss.elastic.co/t/cross-cluster-replication/166665 "2019-02-01T03:53:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [February 1, 2019, 3:53am UTC](https://discuss.elastic.co/t/cross-cluster-replication/166665/1 "2019-02-01T03:53:31Z")

</div>

Hello World!

I watched Jason Zucchetto' [Replicate Elasticsearch Data with Cross-Cluster Replication (CCR) | Elastic](https://www.elastic.co/webinars/replicate-elasticsearch-data-with-cross-cluster-replication-ccr) and unfortunately I didn't get to ask any of question(s) and I was wondering if Jason or anyone from Elastic Team may be able to answer some for me and Elastic community)

- painless script - modify docs on the fly using painless script
- xpack -\> oss - replication to non x-pack (open source) elasticsearch

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 1, 2019, 6:36am UTC](https://discuss.elastic.co/t/cross-cluster-replication/166665/2 "2019-02-01T06:36:41Z")

</div>

> [@alexus](#):
>
> painless script - modify docs on the fly using painless script

This is currently not possible. What is it you are looking to achieve with this? What is the use-case?

> [@alexus](#):
>
> xpack -\> oss - replication to non x-pack (open source) elasticsearch

All clusters involved in CCR need to have the appropriate license level, so replicating to/from OSS clusters is not supported.

---

<div class="post-metadata">

**Author:** ![alexus](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alexus/32/12696_2.png) [@alexus](https://discuss.elastic.co/u/alexus)\
**Post date:** [February 1, 2019, 3:22pm UTC](https://discuss.elastic.co/t/cross-cluster-replication/166665/3 "2019-02-01T15:22:01Z")

</div>

use-case is to modify original doc (obfuscate sensitive information) on the fly using painless script before doc hits remote elasticsearch cluster.

---

<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:** [March 1, 2019, 3:31pm UTC](https://discuss.elastic.co/t/cross-cluster-replication/166665/4 "2019-03-01T15:31:52Z")

</div>

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