# Create a pie chart from multiple searches

**URL:** <https://discuss.elastic.co/t/create-a-pie-chart-from-multiple-searches/130009>\
**Category:** Kibana\
**Created:** [April 30, 2018, 10:15am UTC](https://discuss.elastic.co/t/create-a-pie-chart-from-multiple-searches/130009 "2018-04-30T10:15:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![L33T](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@L33T](https://discuss.elastic.co/u/L33T)\
**Post date:** [April 30, 2018, 10:15am UTC](https://discuss.elastic.co/t/create-a-pie-chart-from-multiple-searches/130009/1 "2018-04-30T10:15:14Z")

</div>

Hi,

I have a few searches saved from discovery, i`d like to create some pie charts that contain multiple saved searches, how can i accomplish this?

Regards,

---

<div class="post-metadata">

**Author:** ![rashmi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rashmi/32/16391_2.png) [@rashmi](https://discuss.elastic.co/u/rashmi)\
**Post date:** [April 30, 2018, 1:59pm UTC](https://discuss.elastic.co/t/create-a-pie-chart-from-multiple-searches/130009/2 "2018-04-30T13:59:03Z")

</div>

You should be able to accomplish this with a filter aggregation. It would look something like this:  
 ![pie](https://us1.discourse-cdn.com/elastic/original/3X/c/1/c16088e3479734596dceed9d8c8c1bf5a190545f.png)

Also, I can link you to some github tickets around this which explains few ways t accomplish this :

> <https://github.com/elastic/kibana/issues/2899>

Cheers  
Rashmi

---

<div class="post-metadata">

**Author:** ![L33T](https://avatars.discourse-cdn.com/v4/letter/l/dbc845/32.png) [@L33T](https://discuss.elastic.co/u/L33T)\
**Post date:** [April 30, 2018, 2:16pm UTC](https://discuss.elastic.co/t/create-a-pie-chart-from-multiple-searches/130009/3 "2018-04-30T14:16:50Z")

</div>

Hi,

I did see that link, it was mentioned in there it couldnt be done so wasnt sure if that was an old article and things had changed since?

---

<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 28, 2018, 2:16pm UTC](https://discuss.elastic.co/t/create-a-pie-chart-from-multiple-searches/130009/4 "2018-05-28T14:16:58Z")

</div>

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