Revert to a snapshot | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
Path parameters
- Identifier for the anomaly detection job.
- You can specify
empty
as the . Reverting to the empty snapshot means the anomaly detection job starts learning a new model from scratch when it is started.
Query parameters
- If true, deletes the results in the time period between the latest results and the time of the reverted snapshot. It also resets the model to accept records for this time period. If you choose not to delete intervening results when reverting a snapshot, the job will not accept input data that is older than the current time. If you want to resend data, then delete the intervening results.
application/json
Body
- Refer to the description for the
delete_intervening_results
query parameter.
Responses
- 200 application/json
Hide response attribute Show response attribute 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