# Percentages with kibana

**URL:** <https://discuss.elastic.co/t/percentages-with-kibana/83417>\
**Category:** Kibana\
**Created:** [April 24, 2017, 1:21pm UTC](https://discuss.elastic.co/t/percentages-with-kibana/83417 "2017-04-24T13:21:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam67000](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Sam67000](https://discuss.elastic.co/u/Sam67000)\
**Post date:** [April 24, 2017, 1:21pm UTC](https://discuss.elastic.co/t/percentages-with-kibana/83417/1 "2017-04-24T13:21:50Z")

</div>

Hello everyone,

I need help.  
I work on logs of calls and I extract from these logs 2 values : if they are yes or not passed and I store them in 2 different variables (DAS1 and DAS2).

I have mapped it as keyword.

How to get percentages of calls received and not received with kibana ?

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [April 24, 2017, 11:08pm UTC](https://discuss.elastic.co/t/percentages-with-kibana/83417/2 "2017-04-24T23:08:24Z")

</div>

Perhaps you could use the pie chart and the "filters" aggregation in a "split slices" bucket. You would probably just have a filter for received, and one for not received, and then the pie chart would show you the distribution

---

<div class="post-metadata">

**Author:** ![Sam67000](https://avatars.discourse-cdn.com/v4/letter/s/53a042/32.png) [@Sam67000](https://discuss.elastic.co/u/Sam67000)\
**Post date:** [April 25, 2017, 7:29am UTC](https://discuss.elastic.co/t/percentages-with-kibana/83417/3 "2017-04-25T07:29:56Z")

</div>

Yes I have already tried. But when I use 2 filters it only displays the results of a single, but not both at the same time.

---

<div class="post-metadata">

**Author:** ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)\
**Post date:** [April 25, 2017, 4:33pm UTC](https://discuss.elastic.co/t/percentages-with-kibana/83417/4 "2017-04-25T16:33:38Z")

</div>

Sounds like the filters aren't matching correctly, if one of the filters isn't displayed that means it's not matching any documents.

---

<div class="post-metadata">

**Author:** ![rcowart](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcowart/32/88091_2.png) [@rcowart](https://discuss.elastic.co/u/rcowart)\
**Post date:** [April 25, 2017, 4:55pm UTC](https://discuss.elastic.co/t/percentages-with-kibana/83417/5 "2017-04-25T16:55:32Z")

</div>

You might want to try this custom Kibana plugin...

> **[ommsolutions/kibana\_ext\_metrics\_vis](https://github.com/ommsolutions/kibana_ext_metrics_vis)**
>
> kibana\_ext\_metrics\_vis - This is a plugin for Kibana 5.0.0+. It is based on the core Metric-Plugin but gives you the ability to output custom aggregates on metric-results by using custom formula an...

Rob

---

<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:** [May 23, 2017, 5:01pm UTC](https://discuss.elastic.co/t/percentages-with-kibana/83417/6 "2017-05-23T17:01:32Z")

</div>

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