start-transform.asciidoc 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. [role="xpack"]
  2. [testenv="basic"]
  3. [[start-data-frame-transform]]
  4. === Start {dataframe-transforms} API
  5. [subs="attributes"]
  6. ++++
  7. <titleabbrev>Start {dataframe-transforms}</titleabbrev>
  8. ++++
  9. Starts one or more {dataframe-transforms}.
  10. beta[]
  11. [[start-data-frame-transform-request]]
  12. ==== {api-request-title}
  13. `POST _data_frame/transforms/<data_frame_transform_id>/_start`
  14. [[start-data-frame-transform-prereqs]]
  15. ==== {api-prereq-title}
  16. * If the {es} {security-features} are enabled, you must have
  17. `manage_data_frame_transforms` cluster privileges to use this API. You must also
  18. have `view_index_metadata` privileges on the source index for the
  19. {dataframe-transform}. For more information, see
  20. {stack-ov}/security-privileges.html[Security privileges] and
  21. {stack-ov}/built-in-roles.html[Built-in roles].
  22. [[start-data-frame-transform-desc]]
  23. ==== {api-description-title}
  24. When a {dataframe-transform} starts, a series of validations occur to ensure its
  25. success. If you deferred validation when you created the {dataframe-transform},
  26. they occur when you start the transform--with the exception of privilege checks.
  27. If the user who created the transform does not have the required privileges on
  28. the source and destination indices, the transform starts but then fails when
  29. it attempts the unauthorized operation.
  30. [[start-data-frame-transform-path-parms]]
  31. ==== {api-path-parms-title}
  32. `<data_frame_transform_id>`::
  33. (Required, string) Identifier for the {dataframe-transform}. This identifier
  34. can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and
  35. underscores. It must start and end with alphanumeric characters.
  36. [[start-data-frame-transform-example]]
  37. ==== {api-examples-title}
  38. [source,js]
  39. --------------------------------------------------
  40. POST _data_frame/transforms/ecommerce_transform/_start
  41. --------------------------------------------------
  42. // CONSOLE
  43. // TEST[skip:set up kibana samples]
  44. When the {dataframe-transform} starts, you receive the following results:
  45. [source,js]
  46. ----
  47. {
  48. "acknowledged" : true
  49. }
  50. ----
  51. // TESTRESPONSE