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

Commit 7e94bed

Browse files
authored
Merge pull request #172 from opendistro/1.4.0
1.4.0
2 parents 0f3b8c1 + 8ca3647 commit 7e94bed

26 files changed

+337
-82
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ This repository contains the documentation for Open Distro for Elasticsearch, a
3535

3636
Alternately, run `build.sh`, which includes some convenience flags and is faster to type.
3737

38-
You'll probably receive a couple `Invalid theme folder: _sass` warnings from Jekyll. You can safely ignore them.
38+
You might receive a couple `Invalid theme folder: _sass` warnings from Jekyll. You can safely ignore them.
3939

4040
1. Open [http://localhost:4000/for-elasticsearch-docs/](http://localhost:4000/for-elasticsearch-docs/).
4141

docs/ad/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: default
33
title: Anomaly Detection (Alpha)
4-
nav_order: 34
4+
nav_order: 36
55
has_children: true
66
---
77

docs/alerting/monitors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Destination | A reusable location for an action, such as Amazon Chime, Slack, or
102102

103103
"Start" and "end" refer to the interval at which the monitor runs. See [Available variables](#available-variables).
104104

105-
- Anomaly detection works for pairing with the anomaly detection plugin. See [Anomaly Detection](../ad/).
105+
- Anomaly detection works for pairing with the anomaly detection plugin. See [Anomaly Detection](../../ad/).
106106

107107

108108
1. To define a monitor visually, choose **Define using visual graph**. Then choose an aggregation (for example, `count()` or `average()`), a set of documents, and a timeframe. Visual definition works well for most monitors.

docs/elasticsearch/snapshot-restore.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ readonly | Whether the repository is read-only. Useful when migrating from one c
101101
If you're using the Docker installation, see [Customize the Docker image](../../install/docker/#customize-the-docker-image). Your `Dockerfile` should look something like this:
102102

103103
```
104-
FROM amazon/opendistro-for-elasticsearch:1.3.0
104+
FROM amazon/opendistro-for-elasticsearch:1.4.0
105105

106106
ENV AWS_ACCESS_KEY_ID <access-key>
107107
ENV AWS_SECRET_ACCESS_KEY <secret-key>
@@ -144,12 +144,15 @@ readonly | Whether the repository is read-only. Useful when migrating from one c
144144
1. (Optional) Add other settings to `elasticsearch.yml`:
145145

146146
```yml
147+
disable_chunked_encoding: false # Disables chunked encoding for compatibility with some storage services, but you probably don't need to change this value.
147148
endpoint: s3.amazonaws.com # S3 has alternate endpoints, but you probably don't need to change this value.
149+
max_retries: 3 # number of retries if a request fails
150+
path_style_access: false # whether to use the deprecated path-style bucket URLs.
151+
# You probably don't need to change this value, but for more information, see https://docs.aws.amazon.com/AmazonS3/latest/dev/VirtualHosting.html#path-style-access.
148152
protocol: https # http or https
149153
proxy.host: my-proxy-host # the hostname for your proxy server
150154
proxy.port: 8080 # port for your proxy server
151155
read_timeout: 50s # the S3 connection timeout
152-
max_retries: 3 # number of retries if a request fails
153156
use_throttle_retries: true # whether the client should wait a progressively longer amount of time (exponential backoff) between each successive retry
154157
```
155158

docs/install/deb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ These steps assume you're using Ubuntu 18.04.
3737
1. Install Elasticsearch OSS:
3838

3939
```bash
40-
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.3.2-amd64.deb
41-
sudo dpkg -i elasticsearch-oss-7.3.2-amd64.deb
40+
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss-7.4.2-amd64.deb
41+
sudo dpkg -i elasticsearch-oss-7.4.2-amd64.deb
4242
```
4343

4444
1. Install the latest version of Open Distro for Elasticsearch:

docs/install/docker-security.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before deploying to a production environment, you should replace the demo securi
1616
version: '3'
1717
services:
1818
odfe-node1:
19-
image: amazon/opendistro-for-elasticsearch:1.3.0
19+
image: amazon/opendistro-for-elasticsearch:1.4.0
2020
container_name: odfe-node1
2121
environment:
2222
- cluster.name=odfe-cluster
@@ -52,7 +52,7 @@ services:
5252
networks:
5353
- odfe-net
5454
odfe-node2:
55-
image: amazon/opendistro-for-elasticsearch:1.3.0
55+
image: amazon/opendistro-for-elasticsearch:1.4.0
5656
container_name: odfe-node2
5757
environment:
5858
- cluster.name=odfe-cluster
@@ -85,7 +85,7 @@ services:
8585
networks:
8686
- odfe-net
8787
kibana:
88-
image: amazon/opendistro-for-elasticsearch-kibana:1.3.0
88+
image: amazon/opendistro-for-elasticsearch-kibana:1.4.0
8989
container_name: odfe-kibana
9090
ports:
9191
- 5601:5601

docs/install/docker.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ nav_order: 1
1010
You can pull the Open Distro for Elasticsearch Docker image just like any other image:
1111

1212
```bash
13-
docker pull amazon/opendistro-for-elasticsearch:1.3.0
14-
docker pull amazon/opendistro-for-elasticsearch-kibana:1.3.0
13+
docker pull amazon/opendistro-for-elasticsearch:1.4.0
14+
docker pull amazon/opendistro-for-elasticsearch-kibana:1.4.0
1515
```
1616

1717
To check available versions, see [Docker Hub](https://hub.docker.com/r/amazon/opendistro-for-elasticsearch/tags).
@@ -33,7 +33,7 @@ Open Distro for Elasticsearch images use `centos:7` as the base image. If you ru
3333
To run the image for local development:
3434

3535
```bash
36-
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:1.3.0
36+
docker run -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" amazon/opendistro-for-elasticsearch:1.4.0
3737
```
3838

3939
Then send requests to the server to verify that Elasticsearch is up and running:
@@ -86,7 +86,7 @@ This sample file starts two data nodes and Kibana.
8686
version: '3'
8787
services:
8888
odfe-node1:
89-
image: amazon/opendistro-for-elasticsearch:1.3.0
89+
image: amazon/opendistro-for-elasticsearch:1.4.0
9090
container_name: odfe-node1
9191
environment:
9292
- cluster.name=odfe-cluster
@@ -110,7 +110,7 @@ services:
110110
networks:
111111
- odfe-net
112112
odfe-node2:
113-
image: amazon/opendistro-for-elasticsearch:1.3.0
113+
image: amazon/opendistro-for-elasticsearch:1.4.0
114114
container_name: odfe-node2
115115
environment:
116116
- cluster.name=odfe-cluster
@@ -131,7 +131,7 @@ services:
131131
networks:
132132
- odfe-net
133133
kibana:
134-
image: amazon/opendistro-for-elasticsearch-kibana:1.3.0
134+
image: amazon/opendistro-for-elasticsearch-kibana:1.4.0
135135
container_name: odfe-kibana
136136
ports:
137137
- 5601:5601
@@ -164,7 +164,7 @@ docker run \
164164
-p 9200:9200 -p 9600:9600 \
165165
-e "discovery.type=single-node" \
166166
-v /<full-path-to>/custom-elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml \
167-
amazon/opendistro-for-elasticsearch:1.3.0
167+
amazon/opendistro-for-elasticsearch:1.4.0
168168
```
169169

170170
You can perform the same operation in `docker-compose.yml` using a relative path:
@@ -220,7 +220,7 @@ The `docker-compose.yml` file above also contains several key settings: `bootstr
220220
To run the image with a custom plugin, first create a [`Dockerfile`](https://docs.docker.com/engine/reference/builder/):
221221

222222
```
223-
FROM amazon/opendistro-for-elasticsearch:1.3.0
223+
FROM amazon/opendistro-for-elasticsearch:1.4.0
224224
RUN /usr/share/elasticsearch/bin/elasticsearch-plugin install --batch <plugin-name-or-url>
225225
```
226226

@@ -234,7 +234,7 @@ docker run -p 9200:9200 -p 9600:9600 -v /usr/share/elasticsearch/data odfe-custo
234234
You can also use a `Dockerfile` to pass your own certificates for use with the [Security](../../security-configuration/) plugin, similar to the `-v` argument in [Configure Elasticsearch](#configure-elasticsearch):
235235

236236
```
237-
FROM amazon/opendistro-for-elasticsearch:1.3.0
237+
FROM amazon/opendistro-for-elasticsearch:1.4.0
238238
COPY --chown=elasticsearch:elasticsearch elasticsearch.yml /usr/share/elasticsearch/config/
239239
COPY --chown=elasticsearch:elasticsearch my-key-file.pem /usr/share/elasticsearch/config/
240240
COPY --chown=elasticsearch:elasticsearch my-certificate-chain.pem /usr/share/elasticsearch/config/

docs/install/helm.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Run the `helm init` command to make sure you also have the Tiller server install
4949
1. Deploy Elasticsearch:
5050

5151
```bash
52-
helm install opendistro-es opendistro-es-1.3.0.tgz
52+
helm install opendistro-es opendistro-es-1.4.0.tgz
5353
```
5454

5555
If you see a `namespaces "default" is forbidden` error, create a Tiller service account and deploy with a cluster binding role, as shown in the following example. See the [Tiller documentation](https://tiller.readthedocs.io/en/latest/) for more information.
@@ -66,7 +66,7 @@ The output shows you the specifications instantiated from the install.
6666
To customize the deployment, pass in the values that you want to override with a custom YAML file:
6767

6868
```bash
69-
helm install --values=customevalues.yaml opendistro-es-1.3.0.tgz
69+
helm install --values=customevalues.yaml opendistro-es-1.4.0.tgz
7070
```
7171

7272
#### Sample output
@@ -105,24 +105,6 @@ You can send requests to the pod to verify that Elasticsearch is up and running:
105105

106106
```bash
107107
$ curl -XGET https://localhost:9200 -u admin:admin --insecure
108-
109-
{
110-
"name" : "opendistro-es-master-1",
111-
"cluster_name" : "elasticsearch",
112-
"cluster_uuid" : "-bGzvzXvRmifC54-gt2pWA",
113-
"version" : {
114-
"number" : "7.3.2",
115-
"build_flavor" : "oss",
116-
"build_type" : "tar",
117-
"build_hash" : "1c1faf1",
118-
"build_date" : "2019-09-06T14:40:30.409026Z",
119-
"build_snapshot" : false,
120-
"lucene_version" : "8.1.0",
121-
"minimum_wire_compatibility_version" : "6.8.0",
122-
"minimum_index_compatibility_version" : "6.0.0-beta1"
123-
},
124-
"tagline" : "You Know, for Search"
125-
}
126108
```
127109

128110
To set up port forwarding to access Kibana, exit the Elasticsearch shell and run the following command:

docs/install/plugins.md

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,19 @@ If you don't want to use the all-in-one Open Distro for Elasticsearch installati
2929
</tr>
3030
</thead>
3131
<tbody>
32+
<tr>
33+
<td>7.4.2</td>
34+
<td>
35+
<pre>opendistro-job-scheduler 1.4.0.0
36+
opendistro_alerting 1.4.0.0
37+
opendistro_index_management 1.4.0.0
38+
opendistro_performance_analyzer 1.4.0.0
39+
opendistro_security 1.4.0.0
40+
opendistro_sql 1.4.0.0
41+
opendistro-knn 1.4.0.0
42+
</pre>
43+
</td>
44+
</tr>
3245
<tr>
3346
<td>7.3.2</td>
3447
<td>
@@ -141,7 +154,7 @@ Navigate to the Elasticsearch home directory (most likely, it is `/usr/share/ela
141154
### Security
142155

143156
```bash
144-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-security/opendistro_security-1.3.0.0.zip
157+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-security/opendistro_security-1.4.0.0.zip
145158
```
146159

147160
After installing the Security plugin, you can run `sudo sh /usr/share/elasticsearch/plugins/opendistro_security/tools/install_demo_configuration.sh` to quickly get started with demo certificates. Otherwise, you must configure it manually and run [securityadmin.sh](../../security-configuration/security-admin/).
@@ -152,7 +165,7 @@ Security has a corresponding [Kibana plugin](../../kibana/plugins) that you prob
152165
### Alerting
153166

154167
```bash
155-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-alerting/opendistro_alerting-1.3.0.1.zip
168+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-alerting/opendistro_alerting-1.4.0.0.zip
156169
```
157170

158171
Alerting has a corresponding [Kibana plugin](../../kibana/plugins) that you probably want to install as well.
@@ -161,28 +174,34 @@ Alerting has a corresponding [Kibana plugin](../../kibana/plugins) that you prob
161174
### SQL
162175

163176
```bash
164-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-sql/opendistro_sql-1.3.0.0.zip
177+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-sql/opendistro_sql-1.4.0.0.zip
165178
```
166179

167180

168181
### Index State Management
169182

170183
```bash
171-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro_index_management-1.3.0.1.zip
184+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/opendistro-index-management/opendistro_index_management-1.4.0.0.zip
172185
```
173186

174187

188+
### KNN
189+
190+
KNN is currently only available as part of the Docker image.
191+
{: .warning }
192+
193+
175194
### Anomaly Detection
176195

177196
This is a preview plugin, which we do not recommend using in production. It's currently in development and is subject to change.
178197

179-
To test this plugin, clone [the anomaly detection repository](https://github.com/opendistro-for-elasticsearch/anomaly-detection) and build it manually using instructions in the README.
198+
To test this plugin, clone [the Anomaly Detection repository](https://github.com/opendistro-for-elasticsearch/anomaly-detection) and build it manually using instructions in the README.
180199

181200

182201
### Performance Analyzer
183202

184203
```bash
185-
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/performance-analyzer/opendistro_performance_analyzer-1.3.0.0.zip
204+
sudo bin/elasticsearch-plugin install https://d3g5vo6xdbdb9a.cloudfront.net/downloads/elasticsearch-plugins/performance-analyzer/opendistro_performance_analyzer-1.4.0.0.zip
186205
```
187206

188207
Performance Analyzer requires some manual configuration after installing the plugin:

docs/install/rpm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Installing and running Open Distro for Elasticsearch from an RPM package is a mo
3535
1. Choose the version you'd like and install it:
3636

3737
```bash
38-
sudo yum install opendistroforelasticsearch-1.3.0
38+
sudo yum install opendistroforelasticsearch-1.4.0
3939
```
4040

4141
1. **If you installed Java 8**, run the following command:

docs/install/tar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ The tarball supports CentOS 7, Amazon Linux 2, Ubuntu 18.04, and most other Linu
1414
1. Download the tarball:
1515

1616
```bash
17-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.3.0.tar.gz -o opendistroforelasticsearch-1.3.0.tar.gz
17+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.4.0.tar.gz -o opendistroforelasticsearch-1.4.0.tar.gz
1818
```
1919

2020
1. Download the checksum:
2121

2222
```bash
23-
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.3.0.tar.gz.sha512 -o opendistroforelasticsearch-1.3.0.tar.gz.sha512
23+
curl https://d3g5vo6xdbdb9a.cloudfront.net/tarball/opendistro-elasticsearch/opendistroforelasticsearch-1.4.0.tar.gz.sha512 -o opendistroforelasticsearch-1.4.0.tar.gz.sha512
2424
```
2525

2626
1. Verify the tarball against the checksum:
2727

2828
```bash
29-
shasum -a 512 -c opendistroforelasticsearch-1.3.0.tar.gz.sha512
29+
shasum -a 512 -c opendistroforelasticsearch-1.4.0.tar.gz.sha512
3030
```
3131

3232
On CentOS, you might not have `shasum`. Install this package:
@@ -38,8 +38,8 @@ The tarball supports CentOS 7, Amazon Linux 2, Ubuntu 18.04, and most other Linu
3838
1. Extract the TAR file to a directory and change to that directory:
3939

4040
```bash
41-
tar -zxf opendistroforelasticsearch-1.3.0.tar.gz
42-
cd opendistroforelasticsearch-1.3.0
41+
tar -zxf opendistroforelasticsearch-1.4.0.tar.gz
42+
cd opendistroforelasticsearch-1.4.0
4343
```
4444

4545
1. Run Open Distro for Elasticsearch:

docs/install/windows.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ As an alternative, we recommend [Ubuntu for Windows 10](https://www.microsoft.co
1717

1818
## ZIP install
1919

20-
1. Download [the ZIP file](https://d3g5vo6xdbdb9a.cloudfront.net/downloads/odfe-windows/ode-windows-zip/odfe-1.3.0.zip).
20+
1. Download [the ZIP file](https://d3g5vo6xdbdb9a.cloudfront.net/downloads/odfe-windows/ode-windows-zip/odfe-1.4.0.zip).
2121

2222
1. Extract the file to a directory, and open that directory at the command prompt.
2323

docs/ism/settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ parent: Index State Management
55
nav_order: 4
66
---
77

8-
# Settings
8+
# ISM Settings
99

1010
We don't recommend changing these settings; the defaults should work well for most use cases.
1111

@@ -14,7 +14,7 @@ Index State Management (ISM) stores its configuration in the `.opendistro-ism-co
1414
All settings are available using the Elasticsearch `_cluster/settings` operation. None require a restart, and all can be marked `persistent` or `transient`.
1515

1616
Setting | Default | Description
17-
:--| :- | :--------------
17+
:--- | :--- | :---
1818
`opendistro.index_state_management.enabled` | True | Specifies whether ISM is enabled or not.
1919
`opendistro.index_state_management.job_interval` | 5 minutes | The interval at which the managed index jobs are run.
2020
`opendistro.index_state_management.coordinator.sweep_period` | 10 minutes | How often the routine background sweep is run.

0 commit comments

Comments
 (0)