Start rollup jobs
Deprecated
Technical preview; Added in 6.3.0
If you try to start a job that does not exist, an exception occurs. If you try to start a job that is already started, nothing happens.
Required authorization
- Cluster privileges:
manage_rollup
Path parameters
-
id
string Required Identifier for the rollup job.
POST
/_rollup/job/{id}/_start
Console
POST _rollup/job/sensor/_start
resp = client.rollup.start_job(
id="sensor",
)
const response = await client.rollup.startJob({
id: "sensor",
});
response = client.rollup.start_job(
id: "sensor"
)
$resp = $client->rollup()->startJob([
"id" => "sensor",
]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_rollup/job/sensor/_start"
Response examples (200)
A successful response from `POST _rollup/job/sensor/_start`.
{
"started": true
}