# ML datafeed bucket aggregation/script challenge

**URL:** <https://discuss.elastic.co/t/ml-datafeed-bucket-aggregation-script-challenge/297552>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [February 17, 2022, 10:45pm UTC](https://discuss.elastic.co/t/ml-datafeed-bucket-aggregation-script-challenge/297552 "2022-02-17T22:45:46Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![richcollier](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/richcollier/32/115035_2.png) [@richcollier](https://discuss.elastic.co/u/richcollier)\
**Post date:** [February 18, 2022, 12:12pm UTC](https://discuss.elastic.co/t/ml-datafeed-bucket-aggregation-script-challenge/297552/2 "2022-02-18T12:12:40Z")

</div>

Hi Rob - this should help: [Analyzing a ratio of documents over time with Anomaly Detection](https://discuss.elastic.co/t/analyzing-a-ratio-of-documents-over-time-with-anomaly-detection/225255)

---

_[View the full topic](https://discuss.elastic.co/t/ml-datafeed-bucket-aggregation-script-challenge/297552)._
