2019-07-19 17:17:39 -04:00
|
|
|
|
|
|
|
[role="xpack"]
|
2020-03-02 10:10:57 -05:00
|
|
|
[[transform-settings]]
|
2019-09-16 11:28:19 -04:00
|
|
|
=== {transforms-cap} settings in Elasticsearch
|
2019-07-19 17:17:39 -04:00
|
|
|
[subs="attributes"]
|
|
|
|
++++
|
2019-09-16 11:28:19 -04:00
|
|
|
<titleabbrev>{transforms-cap} settings</titleabbrev>
|
2019-07-19 17:17:39 -04:00
|
|
|
++++
|
|
|
|
|
2019-09-16 11:28:19 -04:00
|
|
|
You do not need to configure any settings to use {transforms}. It is enabled by default.
|
2019-07-19 17:17:39 -04:00
|
|
|
|
2020-03-02 10:10:57 -05:00
|
|
|
All of these settings can be added to the `elasticsearch.yml` configuration file.
|
|
|
|
The dynamic settings can also be updated across a cluster with the
|
2019-07-19 17:17:39 -04:00
|
|
|
<<cluster-update-settings,cluster update settings API>>.
|
|
|
|
|
2020-03-02 10:10:57 -05:00
|
|
|
TIP: Dynamic settings take precedence over settings in the `elasticsearch.yml`
|
2019-07-19 17:17:39 -04:00
|
|
|
file.
|
|
|
|
|
|
|
|
[float]
|
2020-03-02 10:10:57 -05:00
|
|
|
[[general-transform-settings]]
|
2019-09-16 11:28:19 -04:00
|
|
|
==== General {transforms} settings
|
2019-07-19 17:17:39 -04:00
|
|
|
|
2020-03-02 10:10:57 -05:00
|
|
|
`node.transform`::
|
|
|
|
Set to `true` to identify the node as a _transform node_. The default is `false` if
|
|
|
|
either `node.data` or `xpack.transform.enabled` is `false` for the node, and `true` otherwise. +
|
|
|
|
+
|
|
|
|
If set to `false` in `elasticsearch.yml`, the node cannot run transforms. If set to
|
|
|
|
`true` but `xpack.transform.enabled` is set to `false`, the `node.transform` setting is
|
|
|
|
ignored and the node cannot run transforms. If you want to run transforms, there must be at
|
|
|
|
least one transform node in your cluster. +
|
|
|
|
+
|
|
|
|
IMPORTANT: It is advised to use the `node.transform` setting to constrain the execution
|
|
|
|
of transforms to certain nodes instead of using `xpack.transform.enabled`. On dedicated
|
|
|
|
coordinating nodes or dedicated master nodes, disable the node.transform role.
|
|
|
|
|
2019-09-20 04:43:00 -04:00
|
|
|
`xpack.transform.enabled`::
|
2019-09-16 11:28:19 -04:00
|
|
|
Set to `true` (default) to enable {transforms} on the node. +
|
2019-07-19 17:17:39 -04:00
|
|
|
+
|
2019-09-16 11:28:19 -04:00
|
|
|
If set to `false` in `elasticsearch.yml`, the {transform} APIs are disabled on the node.
|
|
|
|
Therefore the node cannot start or administrate {transform} or receive transport (internal)
|
|
|
|
communication requests related to {transform} APIs.
|
2019-07-19 17:17:39 -04:00
|
|
|
+
|
2019-09-16 11:28:19 -04:00
|
|
|
IMPORTANT: If you want to use {transform} features in your cluster, you must have
|
2020-02-11 07:54:09 -05:00
|
|
|
`xpack.transform.enabled` set to `true` on all master-eligible nodes and all data nodes.
|
|
|
|
This is the default behavior.
|
2019-07-19 17:17:39 -04:00
|
|
|
|
2019-09-20 04:43:00 -04:00
|
|
|
`xpack.transform.num_transform_failure_retries` (<<cluster-update-settings,Dynamic>>)::
|
2019-09-16 11:28:19 -04:00
|
|
|
The number of times that a {transform} retries when it experiences a
|
|
|
|
non-fatal error. Once the number of retries is exhausted, the {transform}
|
2019-07-19 17:17:39 -04:00
|
|
|
task will be marked as `failed`. The default value is `10` with a valid minimum of `0`
|
|
|
|
and maximum of `100`.
|
2019-09-16 11:28:19 -04:00
|
|
|
If a {transform} is already running, it will have to be restarted
|
2019-07-19 17:17:39 -04:00
|
|
|
to use the changed setting.
|