# Cumalive sum

**URL:** https://discuss.elastic.co/t/cumalive-sum/52273
**Category:** Kibana
**Created:** [June 9, 2016, 4:44am UTC](https://discuss.elastic.co/t/cumalive-sum/52273 "2016-06-09T04:44:31Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rheng](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@rheng](https://discuss.elastic.co/u/rheng)
#### Post date: [June 9, 2016, 4:44am UTC](https://discuss.elastic.co/t/cumalive-sum/52273/1 "2016-06-09T04:44:31Z")

</div>

Hi,

I think there is a way to do this, but i'm unsure of the syntax. so lets say i have 3 buckets.

day 1  
bucket 1 = 200  
bucket 2 = 300  
bucket 3 = 400

day 2  
bucket 1 = 300  
bucket 2 = 400  
bucket 3 = 50

So if i created a line graph, i'd like it to show over the course of the week, i like to see a dot for bucket 1 starting at 200 and ending at 500

for bucket 2, the line starting at 300 and ending at 700

bucket 3 a line starting at 400 and ending at 450.

right now, the line graph is plotted by the value and not the cumlative value.

i see this reference, but i don't quite know how to incorporate this into kibana.

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

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 9, 2016, 4:45am UTC](https://discuss.elastic.co/t/cumalive-sum/52273/2 "2016-06-09T04:45:27Z")

</div>

Pipelines aren't currently integrated into KB, so I don't think there is an easy way to do this.

---

<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: [July 6, 2017, 1:51pm UTC](https://discuss.elastic.co/t/cumalive-sum/52273/3 "2017-07-06T13:51:05Z")

</div>


