# Getting around Kibana's missing support for Nested Objects & Parent/Child

**URL:** <https://discuss.elastic.co/t/getting-around-kibanas-missing-support-for-nested-objects-parent-child/53529>\
**Category:** Kibana\
**Created:** [June 21, 2016, 3:48pm UTC](https://discuss.elastic.co/t/getting-around-kibanas-missing-support-for-nested-objects-parent-child/53529 "2016-06-21T15:48:47Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![fbaligand](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fbaligand/32/5657_2.png) [@fbaligand](https://discuss.elastic.co/u/fbaligand)\
**Post date:** [November 27, 2016, 11:22pm UTC](https://discuss.elastic.co/t/getting-around-kibanas-missing-support-for-nested-objects-parent-child/53529/16 "2016-11-27T23:22:44Z")

</div>

@3ygun  
To answer your first need, you could do that with Elastic Stack, using Parent/Child model.  
In Kibana, when you create your visualization, you can copy that in "search bar" :

```
{
	"has_parent": {
	   "parent_type": "kitchen",
	   "query": {
	      "query_string": {
	         "query": "type:old"
	      }
	   }
	}
} 

```

And then make a term aggregation based on "model" field, then order by "custom metric", which is sum of 'count' field.  
This works for me in Kibana 4.6.3 and Kibana 5.0.1

---

_[View the full topic](https://discuss.elastic.co/t/getting-around-kibanas-missing-support-for-nested-objects-parent-child/53529)._
