# Parse nested JSON data into logstash

**URL:** https://discuss.elastic.co/t/parse-nested-json-data-into-logstash/283039
**Category:** Logstash
**Created:** [September 1, 2021, 12:31pm UTC](https://discuss.elastic.co/t/parse-nested-json-data-into-logstash/283039 "2021-09-01T12:31:14Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Magesh\_02](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magesh_02/32/94023_2.png) [@Magesh\_02](https://discuss.elastic.co/u/Magesh_02)
#### Post date: [September 2, 2021, 5:53am UTC](https://discuss.elastic.co/t/parse-nested-json-data-into-logstash/283039/3 "2021-09-02T05:53:55Z")

</div>

Hi @Badger

I'm still having the same problem, and both solutions result in a json parsing error. The same applies to flattened json data.

Error:

```auto
[2021-09-02T11:20:28,725][WARN][logstash.filters.json][main][a39479da327a8f2b0a3503f33c5a383682f4ba6777108aceccd46983b1e8556f] Error parsing json {:source=>"message", :raw=>" \"Added\": 44488,\r", :exception=>#<LogStash::Json::ParserError: Unexpected character (':' (code 58)): expected a valid value (number, String, array, object, 'true', 'false' or 'null')

```

I even tried the same input given in this post

> [@Unable to parse JSON Array object in Logstash](https://discuss.elastic.co/t/unable-to-parse-json-array-object-in-logstash/89247):
>
> I am trying to parse an example JSON Array into Logstash as follow: { "Records": [ { "eventVersion": "1.03", "userIdentity": { "type": "IAMUser", "principalId": "111122223333", "arn": "arn:aws:iam::111122223333:user/myUserName", "accountId": "111122223333", "accessKeyId": "AKIAIOSFODNN7EXAMPLE", "userName": "myUserName" }, "eventTime": "2015-08-26T20:46:31Z", "eventSource": "s…

Also pipeline was not started

---

_[View the full topic](https://discuss.elastic.co/t/parse-nested-json-data-into-logstash/283039)._
