# Parsing a pretty formatted JSON file using Logstash

**URL:** <https://discuss.elastic.co/t/parsing-a-pretty-formatted-json-file-using-logstash/224224>\
**Category:** Logstash\
**Created:** [March 19, 2020, 7:25am UTC](https://discuss.elastic.co/t/parsing-a-pretty-formatted-json-file-using-logstash/224224 "2020-03-19T07:25:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![jbpratt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbpratt/32/57424_2.png) [@jbpratt](https://discuss.elastic.co/u/jbpratt)\
**Post date:** [March 19, 2020, 12:25pm UTC](https://discuss.elastic.co/t/parsing-a-pretty-formatted-json-file-using-logstash/224224/6 "2020-03-19T12:25:25Z")

</div>

Hi, @Noushad_Aslam

I wonder if attempting something like [this](https://discuss.elastic.co/t/remove-n-and-t-from-message/142620) would work.

The "multiline" plugin may also be able to solve your problem:  
[https://www.elastic.co/guide/en/logstash/current/plugins-codecs-multiline.html](https://www.elastic.co/guide/en/logstash/current/plugins-codecs-multiline.html)

Best of luck!

---

_[View the full topic](https://discuss.elastic.co/t/parsing-a-pretty-formatted-json-file-using-logstash/224224)._
