|
@@ -24,12 +24,6 @@ Requires the following privileges:
|
|
|
* source indices: `read`, `view_index_metadata`
|
|
|
* destination index: `read`, `create_index`, `index`. If a `retention_policy` is configured, the `delete` privilege is
|
|
|
also required.
|
|
|
-+
|
|
|
---
|
|
|
-NOTE: If you provide
|
|
|
-<<http-clients-secondary-authorization,secondary authorization headers>>, those
|
|
|
-credentials are used.
|
|
|
---
|
|
|
|
|
|
[[put-transform-desc]]
|
|
|
== {api-description-title}
|
|
@@ -52,18 +46,25 @@ and a check that the destination index is not part of the source index pattern.
|
|
|
You can use the `defer_validation` parameter to skip these checks.
|
|
|
|
|
|
Deferred validations are always run when the {transform} is started, with the
|
|
|
-exception of privilege checks. When {es} {security-features} are enabled, the
|
|
|
-{transform} remembers which roles the user that created it had at the time of
|
|
|
-creation and uses those same roles. If those roles do not have the required
|
|
|
-privileges on the source and destination indices, the {transform} fails when it
|
|
|
-attempts unauthorized operations.
|
|
|
+exception of privilege checks.
|
|
|
|
|
|
-IMPORTANT: You must use {kib} or this API to create a {transform}. Do not add a
|
|
|
+[IMPORTANT]
|
|
|
+====
|
|
|
+
|
|
|
+* The {transform} remembers which roles the user that created it had at the time
|
|
|
+of creation and uses those same roles. If those roles do not have the required
|
|
|
+privileges on the source and destination indices, the {transform} fails when it
|
|
|
+attempts unauthorized operations. If you provide
|
|
|
+<<http-clients-secondary-authorization,secondary authorization headers>>, those
|
|
|
+credentials are used instead.
|
|
|
+* You must use {kib} or this API to create a {transform}. Do not add a
|
|
|
{transform} directly into any `.transform-internal*` indices using the {es}
|
|
|
index API. If {es} {security-features} are enabled, do not give users any
|
|
|
privileges on `.transform-internal*` indices. If you used {transforms} prior to
|
|
|
7.5, also do not give users any privileges on `.data-frame-internal*` indices.
|
|
|
|
|
|
+====
|
|
|
+
|
|
|
You must choose either the latest or pivot method for your {transform}; you
|
|
|
cannot use both in a single {transform}.
|
|
|
|