# About kibana Summation

**URL:** <https://discuss.elastic.co/t/about-kibana-summation/122651>\
**Category:** Kibana\
**Created:** [March 6, 2018, 6:57am UTC](https://discuss.elastic.co/t/about-kibana-summation/122651 "2018-03-06T06:57:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chenzilong444](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)\
**Post date:** [March 6, 2018, 6:57am UTC](https://discuss.elastic.co/t/about-kibana-summation/122651/1 "2018-03-06T06:57:05Z")

</div>

so i have two fields which types is number  
i want to Summons them and put It in a new field  
so can i do it on kibana or elasticsearch but i cant do it on logstash  
because i don't know theirs name before i see it on kibana  
i only need statistical results on kibana

---

<div class="post-metadata">

**Author:** ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)\
**Post date:** [March 7, 2018, 4:51pm UTC](https://discuss.elastic.co/t/about-kibana-summation/122651/2 "2018-03-07T16:51:39Z")

</div>

Hi,

You can use scripted fields in Kibana to do it. On your index pattern page under management - you can add a scripted field and write a script to calculate the sum of the fields you wanted under it.

 ![45%20AM](https://us1.discourse-cdn.com/elastic/original/3X/8/3/83065b03bb0973ecf9a0d5be099fb4874d433da3.png)

Thanks,  
Bhavya

---

<div class="post-metadata">

**Author:** ![chenzilong444](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@chenzilong444](https://discuss.elastic.co/u/chenzilong444)\
**Post date:** [March 28, 2018, 6:41am UTC](https://discuss.elastic.co/t/about-kibana-summation/122651/3 "2018-03-28T06:41:42Z")

</div>

thank you ~

---

<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 25, 2018, 6:41am UTC](https://discuss.elastic.co/t/about-kibana-summation/122651/4 "2018-04-25T06:41:46Z")

</div>

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