# Questions regarding working with pie charts

**URL:** <https://discuss.elastic.co/t/questions-regarding-working-with-pie-charts/327554>\
**Category:** Kibana\
**Created:** [March 13, 2023, 1:20pm UTC](https://discuss.elastic.co/t/questions-regarding-working-with-pie-charts/327554 "2023-03-13T13:20:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcober](https://avatars.discourse-cdn.com/v4/letter/m/e9a140/32.png) [@marcober](https://discuss.elastic.co/u/marcober)\
**Post date:** [March 13, 2023, 1:20pm UTC](https://discuss.elastic.co/t/questions-regarding-working-with-pie-charts/327554/1 "2023-03-13T13:20:45Z")

</div>

Hi,

I'm new using Kibana and I have some questions regarding working with pie charts.  
There are two things that I've been trying to do but I have not been able to:

1. With a KQL query I was able to handle my data and get all the Successful and Business Exceptions from some production logs I have. Now I would like to be able to click on "Business Exceptions" and be able to have a second pie chart inside in which I'm able to see the classification of the different business exceptions that ocurred:  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/0/6/06fc48e6c4816c5baf5fade8072fc933424260d9.png)

When I click inside Business Exception I get this:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/8/88a201341335618053a990e4628461ca502e1726.png)

Is there a way I can classify the business exceptions based on the full log message?

**2) I found online that people are using the outside circle in order to see the classification such as in the example below:**

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/2/c/2c94792f6d223ee3b47d4d2bf91e53f39690849d.png)

I would like to group all the messages from the outside circle that follow the pattern "_is not required nor listed_" under one single slice. Right now I have an ID in each one of these messages so I end up with 150 slices that are basically the same business exception. I would like to have the messages that don't follow this pattern under their own slice of the outside circle.

I hope I made myself understandable!

Thanks in advance

---

<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 10, 2023, 1:21pm UTC](https://discuss.elastic.co/t/questions-regarding-working-with-pie-charts/327554/2 "2023-04-10T13:21:12Z")

</div>

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