# Difference between aggs and aggregations

**URL:** <https://discuss.elastic.co/t/difference-between-aggs-and-aggregations/300155>\
**Category:** Kibana\
**Created:** [March 21, 2022, 5:17am UTC](https://discuss.elastic.co/t/difference-between-aggs-and-aggregations/300155 "2022-03-21T05:17:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Malika\_Srivastava](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/malika_srivastava/32/103273_2.png) [@Malika\_Srivastava](https://discuss.elastic.co/u/Malika_Srivastava)\
**Post date:** [March 21, 2022, 5:17am UTC](https://discuss.elastic.co/t/difference-between-aggs-and-aggregations/300155/1 "2022-03-21T05:17:46Z")

</div>

Hi All, New to learning ELK and I have been going through the playlist on Elastic YT page hosted by Lisa Jung.  
[Lisa Jung's Elastic Repo](https://github.com/LisaHJung/Beginners-Crash-Course-to-Elastic-Stack-Series-Table-of-Contents)

I am confused as to difference between the keywords `aggs` and `aggregations`

Dataset used: [Ecommerce Dataset used](https://www.kaggle.com/carrie1/ecommerce-data)

When I run the following two queries, I get the same results.

```auto

GET ecommerce_data/_search
{
  "aggregations": {
    "top5cust": {
      "terms": {
        "field": "CustomerID",
        "size": 5
        }
      }
    }
  }

```

```auto
GET ecommerce_data/_search
{
  "size": 0, 
  "aggs": {
    "top5cust": {
      "terms": {
        "field": "CustomerID",
        "size": 5,
        "order": {
          "_count": "desc"
        }
      }
    }
  }
}

```

The results are are identical as well.

 ![difference between aggs and aggregations](https://us1.discourse-cdn.com/elastic/original/3X/d/a/da72f836f1624ecbc5235a33d4af29604a258e87.jpeg)

---

<div class="post-metadata">

**Author:** ![casterQ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/casterq/32/93257_2.png) [@casterQ](https://discuss.elastic.co/u/casterQ)\
**Post date:** [March 21, 2022, 7:36am UTC](https://discuss.elastic.co/t/difference-between-aggs-and-aggregations/300155/2 "2022-03-21T07:36:00Z")

</div>

I think there is no difference between them. `aggs` is just the abbreviation of `aggregations `

---

<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:** [April 18, 2022, 7:36am UTC](https://discuss.elastic.co/t/difference-between-aggs-and-aggregations/300155/3 "2022-04-18T07:36:09Z")

</div>

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