# Terms aggregation in Timelion

**URL:** <https://discuss.elastic.co/t/terms-aggregation-in-timelion/182137>\
**Category:** Kibana\
**Tags:** timelion\
**Created:** [May 22, 2019, 6:28am UTC](https://discuss.elastic.co/t/terms-aggregation-in-timelion/182137 "2019-05-22T06:28:26Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [May 22, 2019, 4:23pm UTC](https://discuss.elastic.co/t/terms-aggregation-in-timelion/182137/2 "2019-05-22T16:23:31Z")

</div>

hey ,  
I found a similar post which goes in detail about it. You may find it useful:

> [@Timelion aggregation- Possible with terms?](https://discuss.elastic.co/t/timelion-aggregation-possible-with-terms/98271):
>
> Hey Guys! Im trying to graph a formula using add, divide and multiple functions of Timeline. I wanted to know if it was possible, and if so how to add aggregation of terms to my Timeline equation. Right now, what I think I have is adding 3 different values together in the same index. A+B+C: .es(index=indexWanted\*, q=termSpecifyingWhatSectionIwant:sub111a-ion, metric="sum:valueOneThatiWantToAddTogether").sum(.es(index=indexWanted\*, q=termSpecifyingWhatSectionIwantr:sub222-ion, metric="sum:v…

Cheers  
Rashmi

---

_[View the full topic](https://discuss.elastic.co/t/terms-aggregation-in-timelion/182137)._
