OpenSearch/docs/reference/data-frames/apis/start-transform.asciidoc

57 lines
1.4 KiB
Plaintext
Raw Normal View History

[role="xpack"]
[testenv="basic"]
[[start-data-frame-transform]]
=== Start {dataframe-transforms} API
[subs="attributes"]
++++
<titleabbrev>Start {dataframe-transforms}</titleabbrev>
++++
beta[]
Starts one or more {dataframe-transforms}.
==== Request
`POST _data_frame/transforms/<data_frame_transform_id>/_start`
//==== Description
==== Path Parameters
`data_frame_transform_id` (required)::
(string) Identifier for the {dataframe-transform}. This identifier can contain
lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It
must start and end with alphanumeric characters.
//==== Request Body
==== Authorization
If the {es} {security-features} are enabled, you must have
`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].
==== Examples
The following example starts the `ecommerce_transform` {dataframe-transform}:
[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]
----
{
"acknowledged" : true
}
----
// TESTRESPONSE