# Filebeat metadata docker

**URL:** <https://discuss.elastic.co/t/filebeat-metadata-docker/235368>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 2, 2020, 3:45pm UTC](https://discuss.elastic.co/t/filebeat-metadata-docker/235368 "2020-06-02T15:45:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yassine](https://avatars.discourse-cdn.com/v4/letter/y/c89c15/32.png) [@yassine](https://discuss.elastic.co/u/yassine)\
**Post date:** [June 2, 2020, 3:45pm UTC](https://discuss.elastic.co/t/filebeat-metadata-docker/235368/1 "2020-06-02T15:45:20Z")

</div>

I wanted to know if there was a way for filebeat to send specific metada from the node because right now i am getting a nod id for each event which is a random long id created by docker and the hostname that is sending is the container id, what i want is the node name so i can easily identify which node is being used. Is it posible?

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [June 2, 2020, 3:50pm UTC](https://discuss.elastic.co/t/filebeat-metadata-docker/235368/2 "2020-06-02T15:50:46Z")

</div>

Have you tried using the processor `add_docker_metadata`? See more: [https://www.elastic.co/guide/en/beats/filebeat/current/add-docker-metadata.html](https://www.elastic.co/guide/en/beats/filebeat/current/add-docker-metadata.html)

---

<div class="post-metadata">

**Author:** ![yassine](https://avatars.discourse-cdn.com/v4/letter/y/c89c15/32.png) [@yassine](https://discuss.elastic.co/u/yassine)\
**Post date:** [June 2, 2020, 4:16pm UTC](https://discuss.elastic.co/t/filebeat-metadata-docker/235368/3 "2020-06-02T16:16:52Z")

</div>

> [@kvch](#):
>
> add\_docker\_metadata

I tried that, but i am still seeing the docker node id and the hostname is still the id of the container (c07a4fb87b78). Is there another thing that i could try?

---

<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:** [June 30, 2020, 4:16pm UTC](https://discuss.elastic.co/t/filebeat-metadata-docker/235368/4 "2020-06-30T16:16:59Z")

</div>

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