Update a snapshot | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Path parameters
- Identifier for the anomaly detection job.
- Identifier for the model snapshot.
application/json
Body Required
- A description of the model snapshot.
- If
true
, this snapshot will not be deleted during automatic cleanup of snapshots older thanmodel_snapshot_retention_days
. However, this snapshot will be deleted when the job is deleted.
Responses
- 200 application/json
Hide response attributes Show response attributes object- Hide model attributes Show model attributes object
* An optional description of the job.
* The timestamp of the latest processed record.
* The timestamp of the latest bucket result.
* Hide model_size_stats attributes Show model_size_stats attributes object
* #### log_time string | number Required
A date and time, either as a string whose format can depend on the context (defaulting to ISO 8601), or a number of milliseconds since the Epoch. Elasticsearch accepts both as input, but will generally output a string representation.
Time unit for milliseconds
* Values areok
,soft_limit
, orhard_limit
.
* If true, this snapshot will not be deleted during automatic cleanup of snapshots older than model_snapshot_retention_days. However, this snapshot will be deleted when the job is deleted. The default value is false.
* For internal use only.
* The creation timestamp for the snapshot.
- Hide model attributes Show model attributes object