# Filebeat running in docker not creating ECS field \`host.name\`

**URL:** <https://discuss.elastic.co/t/filebeat-running-in-docker-not-creating-ecs-field-host-name/284279>\
**Category:** Beats\
**Tags:** docker, beats-module, filebeat\
**Created:** [September 15, 2021, 12:07pm UTC](https://discuss.elastic.co/t/filebeat-running-in-docker-not-creating-ecs-field-host-name/284279 "2021-09-15T12:07:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![xtruthx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/xtruthx/32/10435_2.png) [@xtruthx](https://discuss.elastic.co/u/xtruthx)\
**Post date:** [September 15, 2021, 12:07pm UTC](https://discuss.elastic.co/t/filebeat-running-in-docker-not-creating-ecs-field-host-name/284279/1 "2021-09-15T12:07:17Z")

</div>

I am running a filebeat 7.14.1 in a docker container on a debian host. I am using the modules `mysql` and `system`. The filbeat is sending the documents directly to elasticsearch, those are my ingest nodes with the according piplines belonging to the filebeat modules

I excpeted that the ECS field `host.name` would be created, but it is missing. This lead also into the fact that they are not respected in the kibana security integration on page `/app/security/hosts/allHosts?` cause the requests there are based on the field presence of `host.name`.

All components are in version 7.14.1.

Configuration can be find here:

> **[filebeat.config and docker run - Pastebin.com](https://pastebin.com/D6EuJXK9)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Does anyone hava a idea? I can not find a related issue for that.

Thx

---

<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:** [October 13, 2021, 2:07pm UTC](https://discuss.elastic.co/t/filebeat-running-in-docker-not-creating-ecs-field-host-name/284279/2 "2021-10-13T14:07:55Z")

</div>

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