原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/transform-setup.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/transform-setup.html

Set up transformsedit

To use the transforms, you must have the appropriate license and at least one transform node in your Elasticsearch cluster. If Elastic Stack security features are enabled, you must also ensure your users have the necessary privileges.

Transform nodesedit

To use transforms, there must be at least one node in your cluster with xpack.transform.enabled and node.transform set to true. By default, all nodes are transform nodes unless you explicitly change these settings or set node.data to false.

If you want to control which nodes run transforms, set node.transform to false on some nodes.

For more information, see Transforms settings and Node.

Security privilegesedit

The Elasticsearch security features provide built-in roles and privileges that make it easier to control which users can manage or view transforms.

To view the configuration and status of transforms, you must have:

  • transform_user built-in role or monitor_transform cluster privileges

To manage transforms, you must have:

  • transform_admin built-in role or manage_transform cluster privileges
  • read and view_index_metadata index privileges on source indices
  • read, create_index, and index index privileges on destination indices

For more information, see Security privileges and Built-in roles.