[x] show rare chart only if no over field is used in the detector for now 84d85a9
[x] fix blank rare charts https://github.com/elastic/kibana/pull/23423#issuecomment-426961267 — Problem identified: When the time range shown in the chart is smaller than the time range covered by a swimlane cell, a rare anomaly could actually be outside the covered time range. This is actually also a problem on master even without PR 1 so not a problem introduced by the rare chart itself. 2f75c7f
[x] investigate mapping anomalies to dots in population chart https://github.com/elastic/kibana/pull/23423#issuecomment-426961267 — that screenshot is from a detector using over and by, the by field can have an influencer on the outcome and a total high count could be less anomalous than a lower count one.
[ ] display a distribution chart for population detectors which use a script field defined in the datafeed configuration, or when the function does not map to an ES aggregation (e.g. varp, info_content) if model plot is enabled. Currently a metric style chart is displayed in these cases.
Tracking issue for the implementation of a custom charts for detector functions
rare
,over
,lat_long
.Investigate
Implementation
Phase 1 #23423
results
length is 0master
even without PR 1 so not a problem introduced by the rare chart itself. 2f75c7fover
andby
, theby
field can have an influencer on the outcome and a total high count could be less anomalous than a lower count one.undefined
in tooltip https://github.com/elastic/kibana/pull/23423#issuecomment-426972639 5f5ae7aPhase 2
over
fields — 33cbdb3count
andsum
based aggregations. — #24402SAMPLER_TOP_TERMS_SHARD_SIZE
a function argument https://github.com/elastic/kibana/pull/23423#discussion_r222643685Phase 3 / future work / nice to have
freq_rare
https://www.elastic.co/guide/en/x-pack/current/ml-rare-functions.html#ml-freq-rarerare/freq_rare
plusover
fieldsEuiDescriptionList
instead ofmlDescriptionList
styles. https://github.com/elastic/kibana/pull/23423#discussion_r222641612function
does not map to an ES aggregation (e.g. varp, info_content) if model plot is enabled. Currently a metric style chart is displayed in these cases.Part of #22922.