diff --git a/docs/reference/docs/reindex.asciidoc b/docs/reference/docs/reindex.asciidoc index 455410ad943a0..1099fde529b0d 100644 --- a/docs/reference/docs/reindex.asciidoc +++ b/docs/reference/docs/reindex.asciidoc @@ -98,6 +98,9 @@ privilege for the source data stream, index, or alias. in the `reindex.remote.whitelist` setting of `elasticsearch.yml`. See <>. +* If ccs-based reindexing from a remote cluster, you must add the remote cluster setting. See +<>. + * Automatic data stream creation requires a matching index template with data stream enabled. See <>. @@ -1125,6 +1128,30 @@ POST _reindex // TEST[s/otherhost:9200/\${host}/] // TEST[s/\.\.\.,/"username": "test_admin", "password": "x-pack-test-password",/] +[[ccs-based-reindex-from-remote]] +==== ccs based reindex from remote + +Reindex supports Cross-cluster search (<>) based reindexing from a remote Elasticsearch cluster: + +[source,console] +-------------------------------------------------- +POST _reindex +{ + "source": { + "index": "cluster_one:my-index-000001" + }, + "dest": { + "index": "my-new-index-000001" + } +} +-------------------------------------------------- +// TEST[setup:my_index_big] + +The `index` parameter must be specified with the remote cluster name and the index name, separated by +a colon (e.g., cluster_one:my-index-000001). + +NOTE: Reindexing requires that the remote cluster be configured on the local cluster. + [[reindex-ssl]] ===== Configuring SSL parameters