# Aggregation can't be used for operations?

**URL:** <https://discuss.elastic.co/t/aggregation-cant-be-used-for-operations/152999>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [October 18, 2018, 12:42pm UTC](https://discuss.elastic.co/t/aggregation-cant-be-used-for-operations/152999 "2018-10-18T12:42:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![junkoshimane](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/junkoshimane/32/36594_2.png) [@junkoshimane](https://discuss.elastic.co/u/junkoshimane)\
**Post date:** [October 18, 2018, 12:42pm UTC](https://discuss.elastic.co/t/aggregation-cant-be-used-for-operations/152999/1 "2018-10-18T12:42:11Z")

</div>

As far as I check Rally's doc, it seems like that we can't use aggregation as operations for Rally.  
Is my understanding correct?

[aggregation]  
[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations.html)

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [October 18, 2018, 12:58pm UTC](https://discuss.elastic.co/t/aggregation-cant-be-used-for-operations/152999/2 "2018-10-18T12:58:26Z")

</div>

Off course it supports aggregations. Have a look at the standard [rally-tracks](https://github.com/elastic/rally-tracks) for some examples like [this one](https://github.com/elastic/rally-tracks/blob/master/nyc_taxis/operations/default.json#L31).

---

<div class="post-metadata">

**Author:** ![junkoshimane](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/junkoshimane/32/36594_2.png) [@junkoshimane](https://discuss.elastic.co/u/junkoshimane)\
**Post date:** [October 19, 2018, 1:24am UTC](https://discuss.elastic.co/t/aggregation-cant-be-used-for-operations/152999/3 "2018-10-19T01:24:05Z")

</div>

Hi Christian,  
Thank you for your support.  
Due to [https://github.com/elastic/rally-tracks](https://github.com/elastic/rally-tracks), I understood that we can use aggregations.  
Before I posted my question, I should have checked not only rally doc but also examples in git.

---

<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:** [November 16, 2018, 1:25am UTC](https://discuss.elastic.co/t/aggregation-cant-be-used-for-operations/152999/4 "2018-11-16T01:25:17Z")

</div>

Closed on November 16, 2018, 1:25am UTC

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