transform-settings.asciidoc 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. [role="xpack"]
  2. [[transform-settings]]
  3. === {transforms-cap} settings in Elasticsearch
  4. [subs="attributes"]
  5. ++++
  6. <titleabbrev>{transforms-cap} settings</titleabbrev>
  7. ++++
  8. You do not need to configure any settings to use {transforms}. It is enabled by default.
  9. All of these settings can be added to the `elasticsearch.yml` configuration file.
  10. The dynamic settings can also be updated across a cluster with the
  11. <<cluster-update-settings,cluster update settings API>>.
  12. TIP: Dynamic settings take precedence over settings in the `elasticsearch.yml`
  13. file.
  14. [float]
  15. [[general-transform-settings]]
  16. ==== General {transforms} settings
  17. `node.transform`::
  18. Set to `true` to identify the node as a _transform node_. The default is `false` if
  19. either `node.data` or `xpack.transform.enabled` is `false` for the node, and `true` otherwise. +
  20. +
  21. If set to `false` in `elasticsearch.yml`, the node cannot run transforms. If set to
  22. `true` but `xpack.transform.enabled` is set to `false`, the `node.transform` setting is
  23. ignored and the node cannot run transforms. If you want to run transforms, there must be at
  24. least one transform node in your cluster. +
  25. +
  26. IMPORTANT: It is advised to use the `node.transform` setting to constrain the execution
  27. of transforms to certain nodes instead of using `xpack.transform.enabled`. On dedicated
  28. coordinating nodes or dedicated master nodes, disable the node.transform role.
  29. `xpack.transform.enabled`::
  30. Set to `true` (default) to enable {transforms} on the node. +
  31. +
  32. If set to `false` in `elasticsearch.yml`, the {transform} APIs are disabled on the node.
  33. Therefore the node cannot start or administrate {transform} or receive transport (internal)
  34. communication requests related to {transform} APIs.
  35. +
  36. IMPORTANT: If you want to use {transform} features in your cluster, you must have
  37. `xpack.transform.enabled` set to `true` on all master-eligible nodes and all data nodes.
  38. This is the default behavior.
  39. `xpack.transform.num_transform_failure_retries` (<<cluster-update-settings,Dynamic>>)::
  40. The number of times that a {transform} retries when it experiences a
  41. non-fatal error. Once the number of retries is exhausted, the {transform}
  42. task will be marked as `failed`. The default value is `10` with a valid minimum of `0`
  43. and maximum of `100`.
  44. If a {transform} is already running, it will have to be restarted
  45. to use the changed setting.