# How to ingest complex JSON objects with tables in ES?

**URL:** <https://discuss.elastic.co/t/how-to-ingest-complex-json-objects-with-tables-in-es/281327>\
**Category:** Elasticsearch\
**Created:** [August 13, 2021, 9:24am UTC](https://discuss.elastic.co/t/how-to-ingest-complex-json-objects-with-tables-in-es/281327 "2021-08-13T09:24:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AbelAlejandro](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abelalejandro/32/92911_2.png) [@AbelAlejandro](https://discuss.elastic.co/u/AbelAlejandro)\
**Post date:** [August 13, 2021, 9:24am UTC](https://discuss.elastic.co/t/how-to-ingest-complex-json-objects-with-tables-in-es/281327/1 "2021-08-13T09:24:13Z")

</div>

I'm trying to define a format for my logs and these must include lists of objects. When I upload my log file to ElasticSearch, it doesn't know how to parse the lists and I don't see how to configure this.

Example NDJSON log:

```auto
{"id_of_execution":123,"branch":"master","timestamp":1628682978,"hostname":"HOST_1","full_version":"4.3.4-43bca4","known_issues_table":[{"key":1,"name":"DG-1"},{"key":2,"name":"DG-2"}]}
{"id_of_execution":125,"branch":"feature_new","timestamp":1628682979,"hostname":"HOST_1","full_version":"4.5.0-32ab03","known_issues_table":[{"key":1,"name":"DG-1"},{"key":2,"name":"DG-2"},{"key":255,"name":"DG-4"},{"key":256,"name":"DG-67"}]}
{"id_of_execution":126,"branch":"feature_new2","timestamp":1628682956,"hostname":"HOST_2","full_version":"4.6.0-32ff34","known_issues_table":[{"key":1,"name":"DG-1"},{"key":2,"name":"DG-2"},{"key":255,"name":"DG-45"},{"key":256,"name":"DG-68"}]}
{"id_of_execution":127,"branch":"feature_new3","timestamp":1628682934,"hostname":"HOST_55","full_version":"4.7.0-32cc75","known_issues_table":[{"key":1,"name":"DG-1"},{"key":2,"name":"DG-2"},{"key":255,"name":"DG-3"},{"key":256,"name":"DG-69"}]}

```

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/1/c1a7cd8c321f5d1e553d0bae4be260e8dd796cf3.png)

The list `known_issues_table` is recognized as of type `unknown type` and I would like this to be recognized as an object within the main object with an array. Is this possible?

---

<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:** [September 10, 2021, 9:24am UTC](https://discuss.elastic.co/t/how-to-ingest-complex-json-objects-with-tables-in-es/281327/2 "2021-09-10T09:24:46Z")

</div>

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