historical detector to historical analysis

This commit is contained in:
ashwinkumar12345 2021-10-04 12:38:02 -07:00
parent f0f770bfad
commit 72c710d5a3
1 changed files with 4 additions and 2 deletions

View File

@ -2024,13 +2024,15 @@ GET _plugins/_anomaly_detection/stats/<stat>
```
The `model_count` parameter shows the total number of models running on each nodes memory.
Historical detectors contain the following additional fields:
For historical analysis, you see the values for the following fields:
- `ad_total_batch_task_execution_count`
- `ad_executing_batch_task_count`
- `ad_canceled_batch_task_count`
- `ad_batch_task_failure_count`
For real-time analysis, these values are 0.
#### Sample response
```json
@ -2795,7 +2797,7 @@ GET _plugins/_anomaly_detection/detectors/<detectorId>/_profile/total_size_in_by
}
```
You can see the `ad_task` field only for a historical detector.
You can see the `ad_task` field only for historical analysis.
The `model_count` parameter shows the total number of models that a detector runs in memory. This is useful if you have several models running on your cluster and want to know the count.