# Convert string field to json

**URL:** <https://discuss.elastic.co/t/convert-string-field-to-json/296478>\
**Category:** Kibana\
**Created:** [February 7, 2022, 1:49pm UTC](https://discuss.elastic.co/t/convert-string-field-to-json/296478 "2022-02-07T13:49:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rcts](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rcts/32/101475_2.png) [@rcts](https://discuss.elastic.co/u/rcts)\
**Post date:** [February 7, 2022, 1:49pm UTC](https://discuss.elastic.co/t/convert-string-field-to-json/296478/1 "2022-02-07T13:49:06Z")

</div>

Hi!  
I need to convert this "message" field to json, how?

 ![Captura de Tela 2022-02-07 às 10.44.33](https://us1.discourse-cdn.com/elastic/original/3X/5/a/5a5f00ae7e8b0772a0f57c8fed1bdefb2a13b03e.png)

---

<div class="post-metadata">

**Author:** ![sholzhauer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sholzhauer/32/110282_2.png) [@sholzhauer](https://discuss.elastic.co/u/sholzhauer)\
**Post date:** [February 7, 2022, 2:04pm UTC](https://discuss.elastic.co/t/convert-string-field-to-json/296478/2 "2022-02-07T14:04:01Z")

</div>

Hi,

Have a look at my answer in [this similar thread](https://discuss.elastic.co/t/extracting-some-json-fields-from-the-message/296479). You can do this by using two parsers/processors in the pipeline.

---

<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:** [March 7, 2022, 2:04pm UTC](https://discuss.elastic.co/t/convert-string-field-to-json/296478/3 "2022-03-07T14:04:07Z")

</div>

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