# Custom new aggregator

**URL:** <https://discuss.elastic.co/t/custom-new-aggregator/244091>\
**Category:** Elasticsearch\
**Created:** [August 6, 2020, 7:53pm UTC](https://discuss.elastic.co/t/custom-new-aggregator/244091 "2020-08-06T19:53:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raster](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raster/32/47522_2.png) [@Raster](https://discuss.elastic.co/u/Raster)\
**Post date:** [August 6, 2020, 7:53pm UTC](https://discuss.elastic.co/t/custom-new-aggregator/244091/1 "2020-08-06T19:53:32Z")

</div>

Hi,

What are the steps to add a custom aggregator into the elastic server?  
Scenario: need slightly different behaviour for some aggregation metrics.

R

---

<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:** [September 3, 2020, 7:53pm UTC](https://discuss.elastic.co/t/custom-new-aggregator/244091/2 "2020-09-03T19:53:41Z")

</div>

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