# Extract raw message as field

**URL:** <https://discuss.elastic.co/t/extract-raw-message-as-field/159946>\
**Category:** Logstash\
**Created:** [December 7, 2018, 2:44pm UTC](https://discuss.elastic.co/t/extract-raw-message-as-field/159946 "2018-12-07T14:44:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benoit\_elk](https://avatars.discourse-cdn.com/v4/letter/b/f1d935/32.png) [@benoit\_elk](https://discuss.elastic.co/u/benoit_elk)\
**Post date:** [December 7, 2018, 2:44pm UTC](https://discuss.elastic.co/t/extract-raw-message-as-field/159946/1 "2018-12-07T14:44:14Z")

</div>

Hi. I'm looking for a simple way to extract the "raw\_message" and json\_encode it into a field.  
I've search a lot and couldn't find a solution but I feel that there is a simple way !

Thank you

---

<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:** [January 4, 2019, 2:44pm UTC](https://discuss.elastic.co/t/extract-raw-message-as-field/159946/2 "2019-01-04T14:44:23Z")

</div>

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