Skip to content

Commit

Permalink
[DOCS] Amends important note on delayed data detection. (#106610) (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
szabosteve authored Mar 21, 2024
1 parent d7b3acc commit 17ed5bc
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,17 @@ image::images/ml-annotations.png["Delayed data annotations in the Single Metric

[IMPORTANT]
====
As the `doc_count` from an aggregation is compared with the
bucket results of the job, the delayed data check will not work correctly in the
following cases:
The delayed data check will not work correctly in the following cases:
* if the datafeed uses aggregations and the job's `analysis_config` does not have its
`summary_count_field_name` set to `doc_count`,
* if the datafeed is _not_ using aggregations and `summary_count_field_name` is set to
any value.
* if the {dfeed} uses aggregations that filter data,
* if the {dfeed} uses aggregations and the job's `analysis_config` does not have
its `summary_count_field_name` set to `doc_count`,
* if the {dfeed} is _not_ using aggregations and `summary_count_field_name` is
set to any value.
If the datafeed is using aggregations then it's highly likely that the job's
`summary_count_field_name` should be set to `doc_count`. If
`summary_count_field_name` is set to any value other than `doc_count`, the
delayed data check for the datafeed must be disabled.
If the datafeed is using aggregations, set the job's `summary_count_field_name`
to `doc_count`. If `summary_count_field_name` is set to any value other than
`doc_count`, the delayed data check for the datafeed must be disabled.
====
There is another tool for visualizing the delayed data on the *Annotations* tab
in the {anomaly-detect} job management page:
Expand Down

0 comments on commit 17ed5bc

Please sign in to comment.