# Json { source =\> "message" } not parsing all of it

**URL:** <https://discuss.elastic.co/t/json-source-message-not-parsing-all-of-it/297430>\
**Category:** Logstash\
**Created:** [February 17, 2022, 12:49am UTC](https://discuss.elastic.co/t/json-source-message-not-parsing-all-of-it/297430 "2022-02-17T00:49:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [February 17, 2022, 1:46am UTC](https://discuss.elastic.co/t/json-source-message-not-parsing-all-of-it/297430/2 "2022-02-17T01:46:45Z")

</div>

You need to remove the prefix from [message]. I would suggest something like [this](https://discuss.elastic.co/t/parse-json-format-logagregator-logs-in-logstash/182952/4), but if you do not care about the prefix it could be something as simple as

```
mutate { gsub => ["message", ".*{", "{"] }
```

---

_[View the full topic](https://discuss.elastic.co/t/json-source-message-not-parsing-all-of-it/297430)._
