Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 4087a4e

Browse files
Merge pull request #16 from opendistro/master
merge
2 parents c6fc574 + e098a68 commit 4087a4e

File tree

23 files changed

+88
-69
lines changed

23 files changed

+88
-69
lines changed

docs/elasticsearch/cluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ less /var/log/elasticsearch/odfe-cluster.log
180180
Perform the following `_cat` query on any node to see all the nodes formed as a cluster:
181181

182182
```bash
183-
curl -XGET https://<private-ip>:9200/_cat/nodes?v -u admin:admin --insecure
183+
curl -XGET https://<private-ip>:9200/_cat/nodes?v -u 'admin:admin' --insecure
184184
```
185185

186186
```

docs/elasticsearch/full-text.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ GET _search
4141
For an example that uses [curl](https://curl.haxx.se/), try:
4242

4343
```bash
44-
curl --insecure -XGET -u admin:admin https://<host>:<port>/<index>/_search \
44+
curl --insecure -XGET -u 'admin:admin' https://<host>:<port>/<index>/_search \
4545
-H "content-type: application/json" \
4646
-d '{
4747
"query": {

docs/elasticsearch/index-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The document is optional, because `delete` actions do not require a document. Th
5050
To index bulk data using the `curl` command, navigate to the folder where you have your file saved and run the following command:
5151

5252
```json
53-
curl -H "Content-Type: application/x-ndjson" -POST https://localhost:9200/data/_bulk -u admin:admin --insecure --data-binary "@data.json"
53+
curl -H "Content-Type: application/x-ndjson" -POST https://localhost:9200/data/_bulk -u 'admin:admin' --insecure --data-binary "@data.json"
5454
```
5555

5656
If any one of the actions in the `_bulk` API fail, Elasticsearch continues to execute the other actions. Examine the `items` array in the response to figure out what went wrong. The entries in the `items` array are in the same order as the actions specified in the request.

docs/images/kibana-gantt-chart.png

160 KB
Loading

docs/install/deb.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ These steps assume you're using Ubuntu 18.04.
7878
1. Send requests to the server to verify that Elasticsearch is up and running:
7979

8080
```bash
81-
curl -XGET https://localhost:9200 -u admin:admin --insecure
82-
curl -XGET https://localhost:9200/_cat/nodes?v -u admin:admin --insecure
83-
curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure
81+
curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
82+
curl -XGET https://localhost:9200/_cat/nodes?v -u 'admin:admin' --insecure
83+
curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
8484
```
8585

8686
1. For instructions on installing and running Kibana, see [Kibana](../../kibana/).

docs/install/docker.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/open
3939
Then send requests to the server to verify that Elasticsearch is up and running:
4040

4141
```bash
42-
curl -XGET https://localhost:9200 -u admin:admin --insecure
43-
curl -XGET https://localhost:9200/_cat/nodes?v -u admin:admin --insecure
44-
curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure
42+
curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
43+
curl -XGET https://localhost:9200/_cat/nodes?v -u 'admin:admin' --insecure
44+
curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
4545
```
4646

4747
To find the container ID:

docs/install/helm.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ The output shows you the specifications instantiated from the install.
5757
To customize the deployment, pass in the values that you want to override with a custom YAML file:
5858

5959
```bash
60-
helm install --values=customevalues.yaml opendistro-es-{{site.odfe_version}}.tgz
60+
helm install --values=customvalues.yaml opendistro-es-{{site.odfe_version}}.tgz
6161
```
6262

6363
#### Sample output
@@ -91,7 +91,7 @@ $ kubectl exec -it opendistro-es-master-1 -- /bin/bash
9191
You can send requests to the pod to verify that Elasticsearch is up and running:
9292

9393
```bash
94-
$ curl -XGET https://localhost:9200 -u admin:admin --insecure
94+
$ curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
9595
```
9696

9797
To set up port forwarding to access Kibana, exit the Elasticsearch shell and run the following command:
@@ -104,8 +104,14 @@ You can now access Kibana from your browser at: http://localhost:5601.
104104

105105
## Uninstall using Helm
106106

107+
To identify the opendistro-es deployment to be deleted:
108+
109+
```bash
110+
helm list
111+
```
112+
107113
To delete or uninstall this deployment, run the following command:
108114

109115
```bash
110-
helm delete opendistro-es
116+
helm delete <opendistro-es deployment>
111117
```

docs/install/rpm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ Installing and running Open Distro for Elasticsearch from an RPM package is a mo
5959
1. Send requests to the server to verify that Elasticsearch is up and running:
6060

6161
```bash
62-
curl -XGET https://localhost:9200 -u admin:admin --insecure
63-
curl -XGET https://localhost:9200/_cat/nodes?v -u admin:admin --insecure
64-
curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure
62+
curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
63+
curl -XGET https://localhost:9200/_cat/nodes?v -u 'admin:admin' --insecure
64+
curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
6565
```
6666

6767
1. For instructions on installing and running Kibana, see [Kibana](../../kibana).

docs/install/tar.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ The tarball supports CentOS 7, Amazon Linux 2, Ubuntu 18.04, and most other Linu
5353
1. Open a second terminal session, and send requests to the server to verify that Open Distro for Elasticsearch is up and running:
5454

5555
```bash
56-
curl -XGET https://localhost:9200 -u admin:admin --insecure
57-
curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure
56+
curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
57+
curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
5858
```
5959

6060

docs/install/windows.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ Installing Open Distro for Elasticsearch as a Windows service lets it run in the
8383
After you start Open Distro for Elasticsearch, open a new command prompt window. Then send requests to the server to verify that it is up and running:
8484

8585
```
86-
curl -XGET https://localhost:9200 -u admin:admin --insecure
87-
curl -XGET https://localhost:9200/_cat/plugins?v -u admin:admin --insecure
86+
curl -XGET https://localhost:9200 -u 'admin:admin' --insecure
87+
curl -XGET https://localhost:9200/_cat/plugins?v -u 'admin:admin' --insecure
8888
```
8989

9090
You must have [curl](https://curl.haxx.se/windows/) installed for these commands to work. Alternatives include [Invoke-RestMethod](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-restmethod?view=powershell-6) (only PowerShell 6 and later support the `-SkipCertificateCheck` flag) and [Postman](https://www.getpostman.com/downloads/).

0 commit comments

Comments
 (0)