# Query the exact documents in each bucket through Kibana Plugin

**URL:** <https://discuss.elastic.co/t/query-the-exact-documents-in-each-bucket-through-kibana-plugin/57270>\
**Category:** Kibana\
**Created:** [August 4, 2016, 6:23pm UTC](https://discuss.elastic.co/t/query-the-exact-documents-in-each-bucket-through-kibana-plugin/57270 "2016-08-04T18:23:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yifan\_Jiang](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@Yifan\_Jiang](https://discuss.elastic.co/u/Yifan_Jiang)\
**Post date:** [August 4, 2016, 6:23pm UTC](https://discuss.elastic.co/t/query-the-exact-documents-in-each-bucket-through-kibana-plugin/57270/1 "2016-08-04T18:23:16Z")

</div>

Hi everyone,

I'm wondering is there a way to query the exact documents in a bucket through Kibana Plugin?

Taking Pie Chart as an example, apart from seeing the metrics aggregation of each bucket, I would like also get the exact documents in that bucket (e.g. shown in the tooltip upon a mouse hover). Is there a way to do so? Or the only way I can do know is to change to use the App instead of using Visualize?

Thanks!

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 5, 2016, 6:40am UTC](https://discuss.elastic.co/t/query-the-exact-documents-in-each-bucket-through-kibana-plugin/57270/2 "2016-08-05T06:40:18Z")

</div>

You cannot do that in a pie chart, you may be able to do it in a table or a saved search though.

---

<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:** [July 6, 2017, 1:41pm UTC](https://discuss.elastic.co/t/query-the-exact-documents-in-each-bucket-through-kibana-plugin/57270/3 "2017-07-06T13:41:58Z")

</div>


