Schedule a transform to start now
Generally available; Added in 8.7.0
Instantly run a transform to process data.
If you run this API, the transform will process the new data instantly,
without waiting for the configured frequency interval. After the API is called,
the transform will be processed again at now + frequency
unless the API
is called again in the meantime.
Required authorization
- Cluster privileges:
manage_transform
POST
/_transform/{transform_id}/_schedule_now
Console
POST _transform/ecommerce_transform/_schedule_now
resp = client.transform.schedule_now_transform(
transform_id="ecommerce_transform",
)
const response = await client.transform.scheduleNowTransform({
transform_id: "ecommerce_transform",
});
response = client.transform.schedule_now_transform(
transform_id: "ecommerce_transform"
)
$resp = $client->transform()->scheduleNowTransform([
"transform_id" => "ecommerce_transform",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_transform/ecommerce_transform/_schedule_now"
Response examples (200)
A successful response when the transform is scheduled to run now.
{
"acknowledged": true
}