# Using Group By Keys to apply metric aggregation

**URL:** <https://discuss.elastic.co/t/using-group-by-keys-to-apply-metric-aggregation/271811>\
**Category:** Elasticsearch\
**Tags:** transforms\
**Created:** [April 30, 2021, 4:28pm UTC](https://discuss.elastic.co/t/using-group-by-keys-to-apply-metric-aggregation/271811 "2021-04-30T16:28:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![wei.wang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wei.wang/32/51803_2.png) [@wei.wang](https://discuss.elastic.co/u/wei.wang)\
**Post date:** [April 30, 2021, 5:04pm UTC](https://discuss.elastic.co/t/using-group-by-keys-to-apply-metric-aggregation/271811/2 "2021-04-30T17:04:10Z")

</div>

Hi there,

Your question is similar like this one: [Transform on fields of a nested object](https://discuss.elastic.co/t/transform-on-fields-of-a-nested-object/236986), and the background document is this: [Nested aggregation | Elasticsearch Guide [7.12] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-nested-aggregation.html)

As [Hendrik answered in that topic](https://discuss.elastic.co/t/transform-on-fields-of-a-nested-object/236986/4) , we don't have a date when to support it at this moment, unfortunately.

Cheers  
Wei

---

_[View the full topic](https://discuss.elastic.co/t/using-group-by-keys-to-apply-metric-aggregation/271811)._
