# How to make concentric rings in a pie chart per index

**URL:** <https://discuss.elastic.co/t/how-to-make-concentric-rings-in-a-pie-chart-per-index/81024>\
**Category:** Kibana\
**Created:** [April 3, 2017, 3:38pm UTC](https://discuss.elastic.co/t/how-to-make-concentric-rings-in-a-pie-chart-per-index/81024 "2017-04-03T15:38:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frances\_Buontempo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/frances_buontempo/32/16050_2.png) [@Frances\_Buontempo](https://discuss.elastic.co/u/Frances_Buontempo)\
**Post date:** [April 3, 2017, 3:38pm UTC](https://discuss.elastic.co/t/how-to-make-concentric-rings-in-a-pie-chart-per-index/81024/1 "2017-04-03T15:38:16Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/5.2/mapping-index-field.html](https://www.elastic.co/guide/en/elasticsearch/reference/5.2/mapping-index-field.html) shows how to query elasticsearch using  
"terms": {  
"field" : "\_index"  
}

but you can't select the "field" \_index in the kibana front end as a "Term" for the split slices.

My data has another filed I wish to split the pie-chart sections on, which I can do for one index or another, but I can't see how to make concentric rings for both at once

---

<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 4, 2017, 1:49am UTC](https://discuss.elastic.co/t/how-to-make-concentric-rings-in-a-pie-chart-per-index/81024/2 "2017-04-04T01:49:29Z")

</div>

Unfortunately the field\_stats API which Kibana uses to get the list of aggregatable fields does not include information about the `_index` field... With [https://github.com/elastic/elasticsearch/pull/23007](https://github.com/elastic/elasticsearch/pull/23007) merged though we will be moving away from `field_stats` and the new API _does_ support the `_index` field, so this should be fixed soon! Track [https://github.com/elastic/kibana/issues/11014](https://github.com/elastic/kibana/issues/11014) for details

---

<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 2, 2017, 1:49am UTC](https://discuss.elastic.co/t/how-to-make-concentric-rings-in-a-pie-chart-per-index/81024/3 "2017-05-02T01:49:28Z")

</div>

Closed on May 2, 2017, 1:49am UTC

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