# How to prevent json parsing of a field in Logstash?

**URL:** <https://discuss.elastic.co/t/how-to-prevent-json-parsing-of-a-field-in-logstash/178270>\
**Category:** Logstash\
**Created:** [April 24, 2019, 2:18pm UTC](https://discuss.elastic.co/t/how-to-prevent-json-parsing-of-a-field-in-logstash/178270 "2019-04-24T14:18:48Z")\
**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:** [April 24, 2019, 2:42pm UTC](https://discuss.elastic.co/t/how-to-prevent-json-parsing-of-a-field-in-logstash/178270/2 "2019-04-24T14:42:23Z")

</div>

I don't think you can prevent it parsing it, but you could use the [json\_encode](https://www.elastic.co/guide/en/logstash/current/plugins-filters-json_encode.html) plugin to overwrite it with serialized JSON.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-prevent-json-parsing-of-a-field-in-logstash/178270)._
