Get anomaly detection job model snapshot upgrade usage info
- GET /_ml/anomaly_detectors/{job_id}/model_snapshots/{snapshot_id}/_upgrade/_stats
- Cluster privileges:
monitor_ml
Path Parameters
-
job_idstring Idrequired -
Identifier for the anomaly detection job.
-
snapshot_idstring Idrequired -
A numerical character string that uniquely identifies the model snapshot. You can get information for multiple snapshots by using a comma-separated list or a wildcard expression. You can get all snapshots by using
_all, by specifying*as the snapshot ID, or by omitting the snapshot ID.
Query Parameters
-
allow_no_matchboolean Specifies what to do when the request:
- Contains wildcard expressions and there are no jobs that match.
- Contains the _all string or no identifiers and there are no matches.
- Contains wildcard expressions and there are only partial matches.
The default value is true, which returns an empty jobs array when there are no matches and the subset of results when there are partial matches. If this parameter is false, the request returns a 404 status code when there are no matches or only partial matches.
Response
application/json
-
countnumberrequired -
model_snapshot_upgradesModelSnapshotUpgraderequired -
job_idstring Idrequired -
snapshot_idstring Idrequired -
stateSnapshotUpgradeStaterequired -
Values:
loading_old_statesaving_new_statestoppedfailed -
nodeDiscoveryNoderequired -
assignment_explanationstringrequired