# Read Nested JSON Using FIle Beat

**URL:** <https://discuss.elastic.co/t/read-nested-json-using-file-beat/127883>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [April 13, 2018, 12:03am UTC](https://discuss.elastic.co/t/read-nested-json-using-file-beat/127883 "2018-04-13T00:03:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![code\_blue](https://avatars.discourse-cdn.com/v4/letter/c/7ea924/32.png) [@code\_blue](https://discuss.elastic.co/u/code_blue)\
**Post date:** [April 13, 2018, 12:03am UTC](https://discuss.elastic.co/t/read-nested-json-using-file-beat/127883/1 "2018-04-13T00:03:59Z")

</div>

We are having logs in JSON format, but the JSON message can have a nested structure. How can we read nested JSON using File Beat?

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [April 13, 2018, 3:20pm UTC](https://discuss.elastic.co/t/read-nested-json-using-file-beat/127883/2 "2018-04-13T15:20:07Z")

</div>

You can use a [`decode_json_fields`](https://www.elastic.co/guide/en/beats/filebeat/current/decode-json-fields.html) processor to further process the data.

---

<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 11, 2018, 3:20pm UTC](https://discuss.elastic.co/t/read-nested-json-using-file-beat/127883/3 "2018-05-11T15:20:25Z")

</div>

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