Setup
To use transforms, you must have:
-
at least one transform node, - management features visible in the Kibana space, and
- security privileges that:
- grant use of transforms, and
- grant access to source and destination indices
Assigning security privileges affects how users access transforms. Consider the two main categories:
- Elasticsearch API user: uses an Elasticsearch client, cURL, or Kibana Dev Tools to access transforms through Elasticsearch APIs. This scenario requires Elasticsearch security privileges.
- Kibana user: uses transforms in Kibana. This scenario requires Kibana feature privileges and Elasticsearch security privileges.
To manage transforms, you must meet all of the following requirements:
transform_adminbuilt-in role ormanage_transformcluster privileges,readandview_index_metadataindex privileges on source indices, andreadandindexindex privileges on destination indices. The following privileges are also required on destination indices in these cases:create_index, if the destination index does not exist yet and the transform creates it,delete, if aretention_policyis configured,manage, if destination aliases (dest.aliases) are configured. Themanageprivilege is also required on the aliases.
To view only the configuration and status of transforms, you must have:
transform_userbuilt-in role ormonitor_transformcluster privileges
For more information about Elasticsearch roles and privileges, refer to Built-in roles and Security privileges.
Within a Kibana space, for full access to transforms, you must meet all of the following requirements:
- Management features visible in the Kibana space, including
Data View Management, -
Stack Monitoringvisible in the Kibana space, -
monitoring_userbuilt-in role, transform_adminbuilt-in role ormanage_transformcluster privileges,kibana_adminbuilt-in role or a custom role withreadorallKibana privileges for theData View Managementfeature (dependent on whether data views already exist for your destination indices),- data views for your source indices,
readandview_index_metadataindex privileges on source indices, andreadandindexindex privileges on destination indices, pluscreate_index,delete, ormanagein the cases described in Elasticsearch API user.read_pipelinecluster privileges, if the transform uses an ingest pipeline
Within a Kibana space, for read-only access to transforms, you must meet all of the following requirements:
- Management features visible in the Kibana space,
-
Stack Monitoringvisible in the Kibana space, -
monitoring_userbuilt-in role, transform_userbuilt-in role ormonitor_transformcluster privileges,kibana_adminbuilt-in role or a custom role withreadKibana privileges for at least one feature in the space,- data views for your source and destination indices, and
read, andview_index_metadataindex privileges on source indices and destination indices
For more information and Kibana security features, see Kibana role management and Kibana privileges.
Spaces enable you to organize your source and destination indices and other saved objects in Kibana and to see only the objects that belong to your space. However, a transform is a long running task which is managed on cluster level and therefore not limited in scope to certain spaces. Space awareness can be implemented for a data view under Stack Management > Kibana which allows privileges to the transform destination index.
To successfully create transforms in Kibana, you must be logged into a space where the source indices and the Data View Management feature are visible.
Stack Monitoring feature must also be visible in the space.