Skip to content

Commit d1854a1

Browse files
committed
fixing issues
1 parent 98db233 commit d1854a1

File tree

62 files changed

+224
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+224
-308
lines changed

deploy-manage/deploy/self-managed/install-elasticsearch-from-archive-on-linux-macos.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,11 +69,10 @@ curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.0.0-be
6969
tar -xzf elasticsearch-9.0.0-beta1-darwin-x86_64.tar.gz
7070
cd elasticsearch-9.0.0-beta1/ <2>
7171
```
72-
% NOTCONSOLE
7372

7473
1. Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output `elasticsearch-{{version}}-darwin-x86_64.tar.gz: OK`.
7574
2. This directory is known as `$ES_HOME`.
76-
75+
% NOTCONSOLE
7776

7877

7978
## Enable automatic creation of system indices [targz-enable-indices]
@@ -165,11 +164,10 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
165164
```sh
166165
curl --cacert $ES_HOME/config/certs/http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
167166
```
168-
% NOTCONSOLE
169167

170168
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
171169
: Path to the generated `http_ca.crt` certificate for the HTTP layer.
172-
170+
% NOTCONSOLE
173171

174172

175173
The call returns a response like this:

deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,11 +211,10 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
211211
```sh
212212
curl --cacert /etc/elasticsearch/certs/http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
213213
```
214-
% NOTCONSOLE
215214

216215
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
217216
: Path to the generated `http_ca.crt` certificate for the HTTP layer.
218-
217+
% NOTCONSOLE
219218

220219

221220
The call returns a response like this:

deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,10 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
215215
```sh
216216
curl --cacert /etc/elasticsearch/certs/http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
217217
```
218-
% NOTCONSOLE
219218

220219
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
221220
: Path to the generated `http_ca.crt` certificate for the HTTP layer.
222-
221+
% NOTCONSOLE
223222

224223

225224
The call returns a response like this:

deploy-manage/deploy/self-managed/install-elasticsearch-with-zip-on-windows.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,10 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
142142
```sh
143143
curl --cacert %ES_HOME%\config\certs\http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
144144
```
145-
% NOTCONSOLE
146145

147146
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
148147
: Path to the generated `http_ca.crt` certificate for the HTTP layer.
149-
148+
% NOTCONSOLE
150149

151150

152151
The call returns a response like this:

deploy-manage/remote-clusters/remote-clusters-api-key.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,11 @@ PUT /_cluster/settings
167167
}
168168
}
169169
```
170-
% TEST[setup:host]
171-
% TEST[s/127.0.0.1:{{remote-interface-default-port}}/${transport_host}/]
172170

173171
1. The cluster alias of this remote cluster is `cluster_one`.
174172
2. Specifies the hostname and remote cluster port of a seed node in the remote cluster.
175-
173+
% TEST[setup:host]
174+
% TEST[s/127.0.0.1:{{remote-interface-default-port}}/${transport_host}/]
176175

177176
You can use the [remote cluster info API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-remote-info) to verify that the local cluster is successfully connected to the remote cluster:
178177

@@ -199,15 +198,14 @@ The API response indicates that the local cluster is connected to the remote clu
199198
}
200199
}
201200
```
202-
% TESTRESPONSE[s/127.0.0.1:{{remote-interface-default-port}}/$body.cluster_one.seeds.0/]
203-
% TESTRESPONSE[s/ifeval::(.|\n)*endif::[]//]
204-
% TEST[s/"connected" : true/"connected" : $body.cluster_one.connected/]
205-
% TEST[s/"num_nodes_connected" : 1/"num_nodes_connected" : $body.cluster_one.num_nodes_connected/]
206201

207202
1. The number of nodes in the remote cluster the local cluster is connected to.
208203
2. Indicates whether to skip the remote cluster if searched through {{ccs}} but no nodes are available.
209204
3. If present, indicates the remote cluster has connected using API key authentication.
210-
205+
% TESTRESPONSE[s/127.0.0.1:{{remote-interface-default-port}}/$body.cluster_one.seeds.0/]
206+
% TESTRESPONSE[s/ifeval::(.|\n)*endif::[]//]
207+
% TEST[s/"connected" : true/"connected" : $body.cluster_one.connected/]
208+
% TEST[s/"num_nodes_connected" : 1/"num_nodes_connected" : $body.cluster_one.num_nodes_connected/]
211209

212210
### Dynamically configure remote clusters [_dynamically_configure_remote_clusters]
213211

deploy-manage/remote-clusters/remote-clusters-cert.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ PUT /_cluster/settings
8585
}
8686
}
8787
```
88-
% TEST[setup:host]
89-
% TEST[s/127.0.0.1:{{remote-interface-default-port}}/${transport_host}/]
9088

9189
1. The cluster alias of this remote cluster is `cluster_one`.
9290
2. Specifies the hostname and transport port of a seed node in the remote cluster.
93-
91+
% TEST[setup:host]
92+
% TEST[s/127.0.0.1:{{remote-interface-default-port}}/${transport_host}/]
9493

9594
You can use the [remote cluster info API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-remote-info) to verify that the local cluster is successfully connected to the remote cluster:
9695

@@ -116,15 +115,14 @@ The API response indicates that the local cluster is connected to the remote clu
116115
}
117116
}
118117
```
118+
119+
1. The number of nodes in the remote cluster the local cluster is connected to.
120+
2. Indicates whether to skip the remote cluster if searched through {{ccs}} but no nodes are available.
119121
% TESTRESPONSE[s/127.0.0.1:{{remote-interface-default-port}}/$body.cluster_one.seeds.0/]
120122
% TESTRESPONSE[s/ifeval::(.|\n)*endif::[]//]
121123
% TEST[s/"connected" : true/"connected" : $body.cluster_one.connected/]
122124
% TEST[s/"num_nodes_connected" : 1/"num_nodes_connected" : $body.cluster_one.num_nodes_connected/]
123125

124-
1. The number of nodes in the remote cluster the local cluster is connected to.
125-
2. Indicates whether to skip the remote cluster if searched through {{ccs}} but no nodes are available.
126-
127-
128126
### Dynamically configure remote clusters [_dynamically_configure_remote_clusters_2]
129127

130128
Use the [cluster update settings API](https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-cluster-put-settings) to dynamically configure remote settings on every node in the cluster. The following request adds three remote clusters: `cluster_one`, `cluster_two`, and `cluster_three`.

deploy-manage/tools/snapshot-and-restore/create-snapshots.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,10 @@ PUT _slm/policy/nightly-cluster-state-snapshots
353353
}
354354
}
355355
```
356-
% TEST[s/my_secure_repository/my_repository/]
357356

358357
1. Includes the cluster state. This also includes all feature states by default.
359358
2. Excludes regular data streams and indices.
360-
359+
% TEST[s/my_secure_repository/my_repository/]
361360

362361
If you take dedicated snapshots of the cluster state, you’ll need to exclude the cluster state from your other snapshots. For example:
363362

deploy-manage/tools/snapshot-and-restore/restore-snapshot.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,14 @@ POST _snapshot/my_repository/my_snapshot_2099.05.06/_restore
198198
"indices": "-*" <2>
199199
}
200200
```
201+
202+
1. Exclude the cluster state from the restore operation.
203+
2. Exclude the other indices and data streams in the snapshot from the restore operation.
201204
% TEST[setup:setup-snapshots]
202205
% TEST[s/^/DELETE my-index\nDELETE _data_stream/logs-my_app-default\n/]
203206
% TEST[s/_restore/_restore?wait_for_completion=true/]
204207
% TEST[s/"feature_states": [ "geoip" ],//]
205208

206-
1. Exclude the cluster state from the restore operation.
207-
2. Exclude the other indices and data streams in the snapshot from the restore operation.
208-
209-
210209

211210
## Restore an entire cluster [restore-entire-cluster]
212211

deploy-manage/tools/snapshot-and-restore/shared-file-system-repository.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ PUT _snapshot/my_fs_backup
7878
```
7979
% TEST[skip:no access to path]
8080
::::::
81-
::::::
8281

8382
::::::{tab-item} Windows
8483
Windows installations support both DOS and Microsoft UNC paths. Escape any backslashes in the paths. For UNC paths, provide the server and share name as a prefix.
@@ -141,7 +140,6 @@ PUT _snapshot/my_fs_backup
141140
```
142141
% TEST[skip:no access to path]
143142
::::::
144-
::::::
145143

146144
:::::::
147145
## Repository settings [filesystem-repository-settings]

deploy-manage/users-roles/cluster-or-deployment-auth/service-accounts.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ A successful authentication response includes a `token` field, which contains a
103103
"authentication_type": "token"
104104
}
105105
```
106-
% NOTCONSOLE
107106

108107
1. Name of the service account token.
109108
2. Type of service account token. The value always begins with `_service_account_` and is followed by a string that indicates the service token backend in use (can be either `file` or `index`).
110-
109+
% NOTCONSOLE
111110

0 commit comments

Comments
 (0)