# I cannot forward docker meta data on Kafka

**URL:** <https://discuss.elastic.co/t/i-cannot-forward-docker-meta-data-on-kafka/224441>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [March 20, 2020, 3:29pm UTC](https://discuss.elastic.co/t/i-cannot-forward-docker-meta-data-on-kafka/224441 "2020-03-20T15:29:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![omerhanci](https://avatars.discourse-cdn.com/v4/letter/o/5f8ce5/32.png) [@omerhanci](https://discuss.elastic.co/u/omerhanci)\
**Post date:** [March 20, 2020, 3:29pm UTC](https://discuss.elastic.co/t/i-cannot-forward-docker-meta-data-on-kafka/224441/1 "2020-03-20T15:29:40Z")

</div>

I am using elastic stack with Kafka which is sitting between logstash and filebeat. I used following configuration to add docker metadata to log.

```auto
    processors:
    - add_docker_metadata:
        host: "unix:///var/run/docker.sock"

```

It was working before I added Kafka to the stack but now that metadata information is lost. Is there a way to forward that data over Kafka to logstash, then ES.

---

<div class="post-metadata">

**Author:** ![shaunak](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/shaunak/32/6643_2.png) [@shaunak](https://discuss.elastic.co/u/shaunak)\
**Post date:** [March 23, 2020, 5:31pm UTC](https://discuss.elastic.co/t/i-cannot-forward-docker-meta-data-on-kafka/224441/2 "2020-03-23T17:31:37Z")

</div>

Hi @omerhanci, welcome to the Elastic community forums!

A couple of questions/suggestions:

1. What version of Filebeat are you using?

2. Just for debugging purposes, could you temporarily set `output.console.enabled: true` and `output.kafka.enabled: false` and restart Filebeat? This will output events to the console log instead of sending them to Kafka. Then could you look at the events that are output and check if the Docker metadata fields are present?

Thanks,

Shaunak

---

<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:** [April 20, 2020, 5:31pm UTC](https://discuss.elastic.co/t/i-cannot-forward-docker-meta-data-on-kafka/224441/3 "2020-04-20T17:31:39Z")

</div>

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