2019-03-21 12:38:00 -04:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="basic"]
|
|
|
|
[[start-data-frame-transform]]
|
|
|
|
=== Start {dataframe-transforms} API
|
2019-04-30 13:46:13 -04:00
|
|
|
|
|
|
|
[subs="attributes"]
|
2019-03-21 12:38:00 -04:00
|
|
|
++++
|
|
|
|
<titleabbrev>Start {dataframe-transforms}</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
|
|
|
Starts one or more {dataframe-transforms}.
|
|
|
|
|
2019-07-10 17:39:38 -04:00
|
|
|
beta[]
|
|
|
|
|
2019-06-26 16:46:21 -04:00
|
|
|
[[start-data-frame-transform-request]]
|
|
|
|
==== {api-request-title}
|
2019-03-21 12:38:00 -04:00
|
|
|
|
|
|
|
`POST _data_frame/transforms/<data_frame_transform_id>/_start`
|
|
|
|
|
2019-06-26 16:46:21 -04:00
|
|
|
[[start-data-frame-transform-prereqs]]
|
|
|
|
==== {api-prereq-title}
|
2019-06-12 13:13:04 -04:00
|
|
|
|
2019-06-27 18:16:24 -04:00
|
|
|
* If the {es} {security-features} are enabled, you must have
|
2019-06-12 13:13:04 -04:00
|
|
|
`manage_data_frame_transforms` cluster privileges to use this API. You must also
|
|
|
|
have `view_index_metadata` privileges on the source index for the
|
|
|
|
{dataframe-transform}. For more information, see
|
|
|
|
{stack-ov}/security-privileges.html[Security privileges] and
|
|
|
|
{stack-ov}/built-in-roles.html[Built-in roles].
|
2019-03-21 12:38:00 -04:00
|
|
|
|
2019-06-26 16:46:21 -04:00
|
|
|
[[start-data-frame-transform-path-parms]]
|
|
|
|
==== {api-path-parms-title}
|
|
|
|
|
2019-07-10 17:39:38 -04:00
|
|
|
`<data_frame_transform_id>`::
|
2019-07-12 11:26:31 -04:00
|
|
|
(Required, string) Identifier for the {dataframe-transform}. This identifier
|
2019-07-10 17:39:38 -04:00
|
|
|
can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and
|
|
|
|
underscores. It must start and end with alphanumeric characters.
|
2019-03-21 12:38:00 -04:00
|
|
|
|
2019-06-26 16:46:21 -04:00
|
|
|
[[start-data-frame-transform-example]]
|
2019-06-27 12:42:47 -04:00
|
|
|
==== {api-examples-title}
|
2019-03-21 12:38:00 -04:00
|
|
|
|
|
|
|
[source,js]
|
|
|
|
--------------------------------------------------
|
|
|
|
POST _data_frame/transforms/ecommerce_transform/_start
|
|
|
|
--------------------------------------------------
|
|
|
|
// CONSOLE
|
|
|
|
// TEST[skip:set up kibana samples]
|
|
|
|
|
|
|
|
When the {dataframe-transform} starts, you receive the following results:
|
|
|
|
[source,js]
|
|
|
|
----
|
|
|
|
{
|
2019-05-29 05:13:37 -04:00
|
|
|
"acknowledged" : true
|
2019-03-21 12:38:00 -04:00
|
|
|
}
|
|
|
|
----
|
|
|
|
// TESTRESPONSE
|