# Nested fields ElasticSearch and Logstash

**URL:** https://discuss.elastic.co/t/nested-fields-elasticsearch-and-logstash/269306
**Category:** Logstash
**Created:** [April 6, 2021, 9:04am UTC](https://discuss.elastic.co/t/nested-fields-elasticsearch-and-logstash/269306 "2021-04-06T09:04:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![My-project-repositor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/my-project-repositor/32/85949_2.png) [@My-project-repositor](https://discuss.elastic.co/u/My-project-repositor)
#### Post date: [April 6, 2021, 9:04am UTC](https://discuss.elastic.co/t/nested-fields-elasticsearch-and-logstash/269306/1 "2021-04-06T09:04:39Z")

</div>

Hello, I am new in ES and logstash so I need some help

I need to perform an indexation of data from postgres in ES  
My problem is that there are many relationships in the database, and I don't know how to perform many nested fields embedded inside already nested fields with logstash file so that I can have a structured documents in ES

Thanks in advance

---

<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 4, 2021, 9:05am UTC](https://discuss.elastic.co/t/nested-fields-elasticsearch-and-logstash/269306/2 "2021-05-04T09:05:32Z")

</div>

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