# Docker log through Fluent Bit

**URL:** <https://discuss.elastic.co/t/docker-log-through-fluent-bit/217223>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [January 30, 2020, 3:23pm UTC](https://discuss.elastic.co/t/docker-log-through-fluent-bit/217223 "2020-01-30T15:23:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pvalois](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@pvalois](https://discuss.elastic.co/u/pvalois)\
**Post date:** [January 30, 2020, 3:23pm UTC](https://discuss.elastic.co/t/docker-log-through-fluent-bit/217223/1 "2020-01-30T15:23:22Z")

</div>

Hello

We use docker, configurer to send logs through Fluent Bit to Elastic Search.

When the log get out from FluentBit to ElasticSearch, the field Log who contain a JSON is encapsulated in quotes, making it parsed as a string but EL and thus not efficient for index.

I tried to modify the parsers.conf on Fluent Bit with:

```
Decode_Field_As escaped_utf8 log do_next
Decode_Field_As json log

```

but nothing works.

Any clue ?

---

<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:** [February 27, 2020, 3:23pm UTC](https://discuss.elastic.co/t/docker-log-through-fluent-bit/217223/2 "2020-02-27T15:23:31Z")

</div>

Closed on February 27, 2020, 3:23pm UTC

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