# How to use Grok for JSON parsing

**URL:** <https://discuss.elastic.co/t/how-to-use-grok-for-json-parsing/295794>\
**Category:** Logstash\
**Created:** [January 31, 2022, 2:43am UTC](https://discuss.elastic.co/t/how-to-use-grok-for-json-parsing/295794 "2022-01-31T02:43:20Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [January 31, 2022, 2:49am UTC](https://discuss.elastic.co/t/how-to-use-grok-for-json-parsing/295794/2 "2022-01-31T02:49:32Z")

</div>

Perhaps take a look at this thread.

> [@Error in parsing Pretty Json Data](https://discuss.elastic.co/t/error-in-parsing-pretty-json-data/293103):
>
> Hi team I have file in json format. [{ "year": 2013, "title": "Rush", "info": { "directors": ["Ron Howard"], "release\_date": "2013-09-02T00:00:00Z", "rating": 8.3, "genres": ["Action", "Biography", "Drama", "Sport"], "image\_url": "http://ia.media-imdb.com/images/M/MV5BMTQyMDE0MTY0OV5BMl5BanBnXkFtZTcwMjI2OTI0OQ@@.\_V1\_SX400\_.jpg", …

---

_[View the full topic](https://discuss.elastic.co/t/how-to-use-grok-for-json-parsing/295794)._
