Skip to content

Commit

Permalink
Merge branch 'master' into moving_avg-rest-api-compat
Browse files Browse the repository at this point in the history
  • Loading branch information
joegallo committed Jan 20, 2022
2 parents 9f56632 + 3aa9716 commit deaccd5
Show file tree
Hide file tree
Showing 189 changed files with 3,268 additions and 1,156 deletions.
3 changes: 1 addition & 2 deletions build-tools-internal/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,13 @@ jackson = 2.10.4
snakeyaml = 1.26
icu4j = 68.2
supercsv = 2.4.0
# when updating log4j, please update also docs/java-api/index.asciidoc
log4j = 2.17.1
slf4j = 1.6.2
ecsLogging = 1.2.0

jna = 5.10.0

netty = 4.1.66.Final
netty = 4.1.73.Final

commons_lang3 = 3.9

Expand Down
6 changes: 6 additions & 0 deletions docs/changelog/82689.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
pr: 82689
summary: Enhancement/prevent 6.8 indices upgrade
area: Infra/Core
type: enhancement
issues:
- 81326
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Requires the `manage_ml` cluster privilege. This privilege is included in the
This API deletes a filter. If an {anomaly-job} references the filter, you cannot
delete the filter. You must update or delete the job before you can delete the
filter. For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Custom rules].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-rules[Custom rules].

[[ml-delete-filter-path-parms]]
== {api-path-parms-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ one or more forecasts before they expire.
NOTE: When you delete a job, its associated forecasts are deleted.

For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Forecasting the future].
{ml-docs}/ml-ad-forecast.html[Forecasting the future].

[[ml-delete-forecast-path-parms]]
== {api-path-parms-title}
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/ml/anomaly-detection/apis/forecast.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Requires the `manage_ml` cluster privilege. This privilege is included in the

You can create a forecast job based on an {anomaly-job} to extrapolate future
behavior. Refer to
{ml-docs}/ml-ad-finding-anomalies.html[Forecasting the future]
{ml-docs}/ml-ad-forecast.html[Forecasting the future]
and
{ml-docs}/ml-limitations.html#ml-forecast-limitations[Forecast limitations] to
learn more.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Requires the `monitor_ml` cluster privilege. This privilege is included in the
== {api-description-title}

For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Calendars and scheduled events].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-calendars[Calendars and scheduled events].

[[ml-get-calendar-event-path-parms]]
== {api-path-parms-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Requires the `monitor_ml` cluster privilege. This privilege is included in the
== {api-description-title}

For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Calendars and scheduled events].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-calendars[Calendars and scheduled events].

[[ml-get-calendar-path-parms]]
== {api-path-parms-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Requires the `manage_ml` cluster privilege. This privilege is included in the
== {api-description-title}

You can get a single filter or all filters. For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Custom rules].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-rules[Custom rules].

[[ml-get-filter-path-parms]]
== {api-path-parms-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Requires the `manage_ml` cluster privilege. This privilege is included in the
== {api-description-title}

This API accepts a list of
{ml-docs}/ml-ad-finding-anomalies.html[scheduled events], each
{ml-docs}/ml-ad-run-jobs.html#ml-ad-calendars[scheduled events], each
of which must have a start time, end time, and description.

[[ml-post-calendar-event-path-parms]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Requires the `manage_ml` cluster privilege. This privilege is included in the
== {api-description-title}

For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Calendars and scheduled events].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-calendars[Calendars and scheduled events].

[[ml-put-calendar-path-parms]]
== {api-path-parms-title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Requires the `manage_ml` cluster privilege. This privilege is included in the
A filter contains a list of strings. It can be used by one or more jobs.
Specifically, filters are referenced in the `custom_rules` property of detector
configuration objects. For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Custom rules].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-rules[Custom rules].

[[ml-put-filter-path-parms]]
== {api-path-parms-title}
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/ml/ml-shared.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ If the {anomaly-job} uses a {dfeed} with
{ml-docs}/ml-configuring-aggregation.html[aggregations], this value must also be
divisible by the interval of the date histogram aggregation. The default value
is `5m`. For more information, see
{ml-docs}/ml-ad-finding-anomalies.html[Bucket span].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-bucket-span[Bucket span].
end::bucket-span[]

tag::bucket-span-results[]
Expand Down Expand Up @@ -418,7 +418,7 @@ of the most recent snapshot for this job. Valid values range from `0` to
`model_snapshot_retention_days`. For new jobs, the default value is `1`. For
jobs created before version 7.8.0, the default value matches
`model_snapshot_retention_days`. For more information, refer to
{ml-docs}/ml-ad-finding-anomalies.html[Model snapshots].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-model-snapshots[Model snapshots].
end::daily-model-snapshot-retention-after-days[]

tag::data-description[]
Expand Down Expand Up @@ -1419,7 +1419,7 @@ snapshots for this job. It specifies the maximum period of time (in days) that
snapshots are retained. This period is relative to the timestamp of the most
recent snapshot for this job. The default value is `10`, which means snapshots
ten days older than the newest snapshot are deleted. For more information, refer
to {ml-docs}/ml-ad-finding-anomalies.html[Model snapshots].
to {ml-docs}/ml-ad-run-jobs.html#ml-ad-model-snapshots[Model snapshots].
end::model-snapshot-retention-days[]

tag::model-timestamp[]
Expand Down
6 changes: 3 additions & 3 deletions docs/reference/redirects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -379,19 +379,19 @@ See <<commands>>.
=== Calendar resources

See <<ml-get-calendar>> and
{ml-docs}/ml-ad-finding-anomalies.html[Calendars and scheduled events].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-calendars[Calendars and scheduled events].

[role="exclude",id="ml-filter-resource"]
=== Filter resources

See <<ml-get-filter>> and
{ml-docs}/ml-ad-finding-anomalies.html[Machine learning custom rules].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-rules[Machine learning custom rules].

[role="exclude",id="ml-event-resource"]
=== Scheduled event resources

See <<ml-get-calendar-event>> and
{ml-docs}/ml-ad-finding-anomalies.html[Calendars and scheduled events].
{ml-docs}/ml-ad-run-jobs.html#ml-ad-calendars[Calendars and scheduled events].

[role="exclude",id="index-apis"]
=== Index APIs
Expand Down
5 changes: 2 additions & 3 deletions docs/reference/setup/install/docker.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -511,9 +511,8 @@ includes your desired <<set-jvm-heap-size,heap size>> settings.
For testing, you can also manually set the heap size using the `ES_JAVA_OPTS`
environment variable. For example, to use 16GB, specify `-e
ES_JAVA_OPTS="-Xms16g -Xmx16g"` with `docker run`. The `ES_JAVA_OPTS` variable
overrides all other JVM options. The `ES_JAVA_OPTS` variable overrides all other
JVM options. We do not recommend using `ES_JAVA_OPTS` in production. The
`docker-compose.yml` file above sets the heap size to 512MB.
overrides all other JVM options. We do not recommend using `ES_JAVA_OPTS` in
production. The `docker-compose.yml` file above sets the heap size to 512MB.


===== Pin deployments to a specific image version
Expand Down
5 changes: 0 additions & 5 deletions docs/reference/setup/install/targz-start.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ symbolic link.
[discrete]
==== Enroll nodes in an existing cluster

To enroll new nodes in your cluster, create an enrollment token with the
`elasticsearch-create-enrollment-token` tool on any existing node in your
cluster. You can then start a new node with the `--enrollment-token` parameter
so that it joins an existing cluster.

// The following include pulls in steps for enrolling nodes in a cluster from
// a security page in the x-pack folder

Expand Down
5 changes: 0 additions & 5 deletions docs/reference/setup/install/zip-windows-start.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ To stop {es}, press `Ctrl-C`.
[discrete]
==== Enroll nodes in an existing cluster

To enroll new nodes in your cluster, create an enrollment token with the
`elasticsearch-create-enrollment-token` tool on any existing node in your
cluster. You can then start a new node with the `--enrollment-token` parameter
so that it joins an existing cluster.

// The following include pulls in steps for enrolling nodes in a cluster from
// a security page in the x-pack folder

Expand Down
10 changes: 10 additions & 0 deletions docs/reference/snapshot-restore/repository-gcs.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,16 @@ are marked as `Secure`.
can be specified explicitly. For example, it can be used to switch between projects when the
same credentials are usable for both the production and the development projects.

`proxy.host`::
The host name of a proxy to connect to the Google Cloud Storage through.

`proxy.port`::
The port of a proxy to connect to the Google Cloud Storage through.

`proxy.type`::
The proxy type for the client. Supported values are `direct`, `http`, and `socks`.
The default value is `direct` (no proxy).

[[repository-gcs-repository]]
==== Repository Settings

Expand Down
Loading

0 comments on commit deaccd5

Please sign in to comment.