# Indexing Child Document Using Logstash (Elastic v6.x)

**URL:** https://discuss.elastic.co/t/indexing-child-document-using-logstash-elastic-v6-x/156706
**Category:** Logstash
**Created:** [November 14, 2018, 4:18pm UTC](https://discuss.elastic.co/t/indexing-child-document-using-logstash-elastic-v6-x/156706 "2018-11-14T16:18:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Panda8](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/panda8/32/69427_2.png) [@Panda8](https://discuss.elastic.co/u/Panda8)
#### Post date: [November 14, 2018, 4:18pm UTC](https://discuss.elastic.co/t/indexing-child-document-using-logstash-elastic-v6-x/156706/1 "2018-11-14T16:18:42Z")

</div>

Hi

Now Since Elasticsearch (v 6.x) has removed '\_parent' and introduced 'joinfields' for specifying parent child relationship. How to index child document in elasticsearch ( having join fields specifying the parent child relationship ) using Logstash?

Please help.

---

<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: [December 12, 2018, 4:18pm UTC](https://discuss.elastic.co/t/indexing-child-document-using-logstash-elastic-v6-x/156706/2 "2018-12-12T16:18:48Z")

</div>

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