# Parent Child - Getting data from child into parent

**URL:** <https://discuss.elastic.co/t/parent-child-getting-data-from-child-into-parent/174953>\
**Category:** Elasticsearch\
**Created:** [April 2, 2019, 9:15am UTC](https://discuss.elastic.co/t/parent-child-getting-data-from-child-into-parent/174953 "2019-04-02T09:15:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ek9boy](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@ek9boy](https://discuss.elastic.co/u/ek9boy)\
**Post date:** [April 2, 2019, 9:15am UTC](https://discuss.elastic.co/t/parent-child-getting-data-from-child-into-parent/174953/1 "2019-04-02T09:15:28Z")

</div>

Hi,

I have the below issue:

**Parent File:**  
File\_Id: 009  
Source: MP  
AMT: 2311  
_Reason\_R: -_  
_Time: -_

**Child File:**  
File\_Id: 1232  
File\_Id\_link:009  
Source: MP  
AMT: 324  
_Reason\_R: AAA_  
_Time: 9:00_

So essentially the parent is missing the Reason\_R: & Time:. Where as the child which is created has this. This child also has the parents file\_id\_link.

I need the Reason\_R: & Time: from the child to be joined into the parent?

is this possible, if so how and what kind of solution is best to go ahead with this?

---

<div class="post-metadata">

**Author:** ![ek9boy](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@ek9boy](https://discuss.elastic.co/u/ek9boy)\
**Post date:** [April 2, 2019, 9:17am UTC](https://discuss.elastic.co/t/parent-child-getting-data-from-child-into-parent/174953/2 "2019-04-02T09:17:56Z")

</div>

**Further comment below:**

I need the Reason\_R: & Time: from the child to be added into the parent file, whenever a child is created

---

<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:** [April 30, 2019, 9:17am UTC](https://discuss.elastic.co/t/parent-child-getting-data-from-child-into-parent/174953/3 "2019-04-30T09:17:58Z")

</div>

Closed on April 30, 2019, 9:17am UTC

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