-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Add CCS based reindex in doc page #117154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 1 commit
8f66c41
69985f7
e058651
34a6708
6ae57e0
670899d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 117154 | ||
summary: "Add CCS based reindex to docs" | ||
area: Search | ||
type: bug | ||
issues: [] |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -92,6 +92,9 @@ privilege for the source data stream, index, or alias. | |
in the `reindex.remote.whitelist` setting of `elasticsearch.yml`. See | ||
<<reindex-from-remote>>. | ||
|
||
* If CCS-based reindexing from a remote cluster, you must add the remote cluster setting. See | ||
<<add-remote-clusters>>. | ||
|
||
* Automatic data stream creation requires a matching index template with data | ||
stream enabled. See <<set-up-a-data-stream>>. | ||
|
||
|
@@ -1119,6 +1122,32 @@ 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 CCS based reindexing from a remote Elasticsearch cluster: | ||
kingherc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
[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). | ||
Additionally, you must configure the remote cluster in advance and retrieve the remote cluster name. | ||
|
||
For more details, refer to the reference for <<add-remote-clusters>>. | ||
|
||
NOTE: Needs v8.12.0 or later on the reindexing cluster. | ||
kingherc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
[[reindex-ssl]] | ||
===== Configuring SSL parameters | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.