# Filebeat not exposing the name

**URL:** <https://discuss.elastic.co/t/filebeat-not-exposing-the-name/261854>\
**Category:** Beats\
**Tags:** docker, filebeat, metricbeat\
**Created:** [January 21, 2021, 8:48pm UTC](https://discuss.elastic.co/t/filebeat-not-exposing-the-name/261854 "2021-01-21T20:48:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cwiechmann](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cwiechmann/32/80908_2.png) [@cwiechmann](https://discuss.elastic.co/u/cwiechmann)\
**Post date:** [January 21, 2021, 8:48pm UTC](https://discuss.elastic.co/t/filebeat-not-exposing-the-name/261854/1 "2021-01-21T20:48:23Z")

</div>

Hi All,

I'm running Filebeat (7.10.2) in a Docker-Container and wanted to switch from Internal Monitoring to Metricbeat using the Beat module. It works fine so far, but the `name` configured in filebeat.yml is not used.

> **[Configure general settings | Filebeat Reference \[master\] | Elastic](https://www.elastic.co/guide/en/beats/filebeat/master/configuration-general-options.html#_name)**

This leads to the situation, that Kibana shows the random Docker-Hostname instead of configured shipper name, which makes it hard to identify the correct Filebeat instance.

```json
sh-4.2$ curl -XGET 'localhost:5066/?pretty'
{
  "beat": "filebeat",
  "hostname": "06694391eabc",
  "name": "06694391eabc",
  "uuid": "907a52a0-7f7d-4c7e-b072-c08e52a8252e",
  "version": "7.10.2"
}

```

I was expecting to see the configured `name` in the output above. And I assume this information is used by Metricbeat to get the name.

Using the Internal Monitoring it was working well, even if the Info-Endpoint above shows the same. Looks like internal monitoring takes the `name` directly from the configuration.

Of course I could change the hostname of the Docker-Container, but this will only be a workaround.

Any ideas?

---

<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 18, 2021, 10:48pm UTC](https://discuss.elastic.co/t/filebeat-not-exposing-the-name/261854/2 "2021-02-18T22:48:23Z")

</div>

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