# How to configure ANOMALY DETECTION with DAILY buckets

**URL:** <https://discuss.elastic.co/t/how-to-configure-anomaly-detection-with-daily-buckets/217451>\
**Category:** Kibana\
**Tags:** elastic-stack-machine-learning\
**Created:** [January 31, 2020, 6:47pm UTC](https://discuss.elastic.co/t/how-to-configure-anomaly-detection-with-daily-buckets/217451 "2020-01-31T18:47:42Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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 3, 2020, 5:19pm UTC](https://discuss.elastic.co/t/how-to-configure-anomaly-detection-with-daily-buckets/217451/5 "2020-02-03T17:19:57Z")

</div>

Yes, you can accomplish this via a `script_field`. See this example: [ML Job on Scripted field](https://discuss.elastic.co/t/ml-job-on-scripted-field/116820/14)

---

_[View the full topic](https://discuss.elastic.co/t/how-to-configure-anomaly-detection-with-daily-buckets/217451)._
