# Pie Chart Issue, how to create pie chart on multiple values

**URL:** <https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900>\
**Category:** Kibana\
**Created:** [October 3, 2018, 1:34pm UTC](https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900 "2018-10-03T13:34:01Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![8Bit\_System](https://avatars.discourse-cdn.com/v4/letter/8/7ea924/32.png) [@8Bit\_System](https://discuss.elastic.co/u/8Bit_System)\
**Post date:** [October 3, 2018, 1:34pm UTC](https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900/1 "2018-10-03T13:34:01Z")

</div>

Hello Sir,

I am facing issue to make sub-bucket. suppose we have four field

 ![pie](https://us1.discourse-cdn.com/elastic/original/3X/d/5/d581e0aac249f658b2407badaa8a666a863478ad.png)

please have a review i have explain that issue in image

i have four field we need to create four buket but in all bucket have multiple fileld i do not want create seprate filed for indvisaul buket i need count all entry which in mansion in attachment

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 4, 2018, 11:05am UTC](https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900/2 "2018-10-04T11:05:15Z")

</div>

I don't really understand your data.

Do you have the `success`, `reqError`, `resCode` and `captcha` fields in every document?  
How are you aggregating it? From the screenshot it looks like that chart is made per document, which is not what Kibana does, or Elasticsearch.

---

<div class="post-metadata">

**Author:** ![8Bit\_System](https://avatars.discourse-cdn.com/v4/letter/8/7ea924/32.png) [@8Bit\_System](https://discuss.elastic.co/u/8Bit_System)\
**Post date:** [October 4, 2018, 12:36pm UTC](https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900/3 "2018-10-04T12:36:04Z")

</div>

Thanks  
I have found the solution with the help of a filter

Regards

Jagdish Kumawat

---

<div class="post-metadata">

**Author:** ![ysumit](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@ysumit](https://discuss.elastic.co/u/ysumit)\
**Post date:** [October 15, 2018, 1:57pm UTC](https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900/4 "2018-10-15T13:57:19Z")

</div>

Can you share the filter used. I am facing a similar issue.

---

<div class="post-metadata">

**Author:** ![8Bit\_System](https://avatars.discourse-cdn.com/v4/letter/8/7ea924/32.png) [@8Bit\_System](https://discuss.elastic.co/u/8Bit_System)\
**Post date:** [October 16, 2018, 12:15pm UTC](https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900/5 "2018-10-16T12:15:14Z")

</div>

Yes, i will help you in filter suppose that exception is field in your logs. then you need to put exception :1 same other field and there is option label you can edit that field name .

 ![rrrr](https://us1.discourse-cdn.com/elastic/original/3X/8/e/8e40b14f69d646501924d8e55b3c81b0b5098f31.png)

---

<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:** [November 13, 2018, 12:15pm UTC](https://discuss.elastic.co/t/pie-chart-issue-how-to-create-pie-chart-on-multiple-values/150900/6 "2018-11-13T12:15:14Z")

</div>

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