[ML] validate datafeed composite aggregation support in Single metric viewer #93610
Labels
enhancement
New value added to drive a business result
Feature:Anomaly Detection
ML anomaly detection
:ml
v7.13.0
Describe the feature:
Validations around if an aggregated datafeed can be shown in SMV should include composite aggregations.
Describe a specific use case for the feature:
With elastic/elasticsearch#69970 it will be possible for users to create datafeeds that use composite aggregations.
The current validations ASSUME a
date_histogram
parent aggregation. But, it is now possible that the top level agg iscomposite
.So, along with the typical sub-agg validations (nested terms, etc.), an additional validation needs to be done for
composite
.The UI should make sure that the
composite
sources areterms
anddate_histogram
only. While it is possible to execute a filter query for the other source types, that logic is not in kibana yet.Here is a validate data feed:
Here is one that wouldn't really be visible in SMV (based only on composite sources)
Note the additional
sources
entry ofgeotile_grid
The text was updated successfully, but these errors were encountered: