原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/rollup-start-job.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/rollup-start-job.html
本地英文版地址: ../en/rollup-start-job.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Start rollup jobs APIedit
Starts an existing, stopped rollup job.
This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features.
Requestedit
POST _rollup/job/<job_id>/_start
Prerequisitesedit
-
If the Elasticsearch security features are enabled, you must have
manage
ormanage_rollup
cluster privileges to use this API. For more information, see Security privileges.
Descriptionedit
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.
Path parametersedit
-
<job_id>
- (Required, string) Identifier for the rollup job.
Response codesedit
-
404
(Missing resources) - This code indicates that there are no resources that match the request. It occurs if you try to start a job that doesn’t exist.
Examplesedit
If we have already created a rollup job named sensor
, it can be started with:
POST _rollup/job/sensor/_start
Which will return the response:
{ "started": true }