Skip to content

Commit bd60760

Browse files
committed
remote alias and api key aligned
1 parent 964429e commit bd60760

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

deploy-manage/remote-clusters/_snippets/rcs-elasticsearch-api-snippet-self.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ To configure a self-managed cluster as a remote cluster, use the [cluster update
1717

1818
* `server_name`: Specify a value if the certificate presented by the remote cluster is signed for a different name than the proxy_address.
1919

20-
This is an example of the API call to `_cluster/settings`:
20+
This is an example of the API call to add or update a remote cluster:
2121

2222
```json
2323
PUT /_cluster/settings
2424
{
2525
"persistent": {
2626
"cluster": {
2727
"remote": {
28-
"alias-for-my-remote-cluster": {
28+
"alias-for-my-remote-cluster": { // Align the alias with the remote cluster name used when adding the API key.
2929
"mode":"proxy",
30-
"proxy_address": "a542184a7a7d45b88b83f95392f450ab.192.168.44.10.ip.es.io:9300",
30+
"proxy_address": "a542184a7a7d45b88b83f95392f450ab.192.168.44.10.ip.es.io:9400",
3131
"server_name": "a542184a7a7d45b88b83f95392f450ab.192.168.44.10.ip.es.io"
3232
}
3333
}
@@ -36,4 +36,4 @@ PUT /_cluster/settings
3636
}
3737
```
3838

39-
For a full list of available client connection settings in proxy mode, refer to [remote cluster settings reference](elasticsearch://reference/elasticsearch/configuration-reference/remote-clusters.md#remote-cluster-proxy-settings).
39+
For a full list of available client connection settings in proxy mode, refer to the [remote cluster settings reference](elasticsearch://reference/elasticsearch/configuration-reference/remote-clusters.md#remote-cluster-proxy-settings).

deploy-manage/remote-clusters/_snippets/rcs-elasticsearch-api-snippet.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ To configure a deployment as a remote cluster, use the [cluster update settings
2121

2222
* `server_name`: This value can be found on the **Security** page of the {{remote_type}} you want to use as a remote. Copy the **Server name** from the **Remote cluster parameters** section. Also, using the API, this can be obtained from the {{es}} resource info field `metadata.endpoint`.
2323

24-
This is an example of the API call to `_cluster/settings`:
24+
This example shows the API call to add or update a remote cluster. The alias `alias-for-my-remote-cluster` must match the remote cluster name used when adding the API key to the deployment:
2525

2626
```json
2727
PUT /_cluster/settings
2828
{
2929
"persistent": {
3030
"cluster": {
3131
"remote": {
32-
"alias-for-my-remote-cluster": {
32+
"alias-for-my-remote-cluster": { // Remote cluster alias
3333
"mode":"proxy",
3434
"proxy_address": "a542184a7a7d45b88b83f95392f450ab.192.168.44.10.ip.es.io:9400",
3535
"server_name": "a542184a7a7d45b88b83f95392f450ab.192.168.44.10.ip.es.io"
@@ -40,4 +40,4 @@ PUT /_cluster/settings
4040
}
4141
```
4242

43-
For a full list of available client connection settings in proxy mode, refer to [remote cluster settings reference](elasticsearch://reference/elasticsearch/configuration-reference/remote-clusters.md#remote-cluster-proxy-settings).
43+
For a full list of available client connection settings in proxy mode, refer to the [remote cluster settings reference](elasticsearch://reference/elasticsearch/configuration-reference/remote-clusters.md#remote-cluster-proxy-settings).

0 commit comments

Comments
 (0)