# Can filebeat decode embedded json string in a particular field

**URL:** https://discuss.elastic.co/t/can-filebeat-decode-embedded-json-string-in-a-particular-field/59097
**Category:** Beats
**Tags:** filebeat
**Created:** [August 27, 2016, 8:01pm UTC](https://discuss.elastic.co/t/can-filebeat-decode-embedded-json-string-in-a-particular-field/59097 "2016-08-27T20:01:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![yanjun](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@yanjun](https://discuss.elastic.co/u/yanjun)
#### Post date: [August 27, 2016, 8:01pm UTC](https://discuss.elastic.co/t/can-filebeat-decode-embedded-json-string-in-a-particular-field/59097/1 "2016-08-27T20:01:01Z")

</div>

We have docker json-file logger produces this kind of log messages (docker meta data removed)  
{"log":"{"test":"test"}"}

Is it possible to configure filebeat5.0 to also decode the string inside "log"? Or we have to use something like Logstash Json filter.

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [August 27, 2016, 11:35pm UTC](https://discuss.elastic.co/t/can-filebeat-decode-embedded-json-string-in-a-particular-field/59097/2 "2016-08-27T23:35:50Z")

</div>

You need to use LS.

---

<div class="post-metadata">

### Author: ![yanjun](https://avatars.discourse-cdn.com/v4/letter/y/a6a055/32.png) [@yanjun](https://discuss.elastic.co/u/yanjun)
#### Post date: [August 28, 2016, 4:18am UTC](https://discuss.elastic.co/t/can-filebeat-decode-embedded-json-string-in-a-particular-field/59097/3 "2016-08-28T04:18:31Z")

</div>

It seems should be done at producing host. I can take a look to add an option in prospector or processor

---

<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: [September 17, 2016, 8:01pm UTC](https://discuss.elastic.co/t/can-filebeat-decode-embedded-json-string-in-a-particular-field/59097/4 "2016-09-17T20:01:55Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
