# High\_min & low\_max functions - feature request?

**URL:** <https://discuss.elastic.co/t/high-min-low-max-functions-feature-request/242567>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-machine-learning\
**Created:** [July 24, 2020, 8:10pm UTC](https://discuss.elastic.co/t/high-min-low-max-functions-feature-request/242567 "2020-07-24T20:10:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cosruss](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cosruss](https://discuss.elastic.co/u/cosruss)\
**Post date:** [July 24, 2020, 8:10pm UTC](https://discuss.elastic.co/t/high-min-low-max-functions-feature-request/242567/1 "2020-07-24T20:10:06Z")

</div>

The current detector functions for min and max only look for anomalies in unusually low mins and unusually high maxes. It would be useful to have high\_min and low\_max detector functions. This allows detection on how high the floor goes or high low the ceiling goes for a metric.

One example might be looking at cpu - the min indicates the lowest the cpu has been for that bucket; the high\_min detector would look at when that floor spikes high abnormally.

This can be done by pre-aggregating the buckets, or via transforms, but having a native function for this would be cleaner, and should not be difficult to implement.

Looking for comments before submitting a feature request in github.

---

<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:** [July 30, 2020, 4:58pm UTC](https://discuss.elastic.co/t/high-min-low-max-functions-feature-request/242567/2 "2020-07-30T16:58:23Z")

</div>

Hi Tom,

You should feel empowered to submit a feature request even if this post doesn't get much chatter! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 27, 2020, 4:58pm UTC](https://discuss.elastic.co/t/high-min-low-max-functions-feature-request/242567/3 "2020-08-27T16:58:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
