[ML] Datafeed overrides generating incorrect datafeed config #78846
Labels
bug
Fixes for quality problems that affect the customer experience
Feature:Anomaly Detection
ML anomaly detection
:ml
NeededFor:ML
v7.10.0
When trying to override the aggregation for a datafeed via
/api/ml/modules/setup
, the setup api generates an invalid aggregation. It appears that the default aggregation is merged with the override instead of being overridden which results in an invalid aggregation. I would expect that the aggregation would be completely overridden, not merged.Here's an example override for the metrics_ui_hosts module:
Here's what the setup api tries to save to the datafeed:
As you can see the aggregations section has merged the default aggregation with the override resulting in an invalid aggregation.
The text was updated successfully, but these errors were encountered: