# Filebeat output logtash - wrong value in "host" field seen in elasticsearch Index

**URL:** <https://discuss.elastic.co/t/filebeat-output-logtash-wrong-value-in-host-field-seen-in-elasticsearch-index/324493>\
**Category:** Beats\
**Tags:** docker, filebeat\
**Created:** [February 2, 2023, 2:31am UTC](https://discuss.elastic.co/t/filebeat-output-logtash-wrong-value-in-host-field-seen-in-elasticsearch-index/324493 "2023-02-02T02:31:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![madhu\_sudan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/madhu_sudan/32/116670_2.png) [@madhu\_sudan](https://discuss.elastic.co/u/madhu_sudan)\
**Post date:** [February 2, 2023, 2:31am UTC](https://discuss.elastic.co/t/filebeat-output-logtash-wrong-value-in-host-field-seen-in-elasticsearch-index/324493/1 "2023-02-02T02:31:08Z")

</div>

I see value for "host" field as the container IP, but was expecting the hostname of the docker host.

host 192.168.254.4

Also added  
processors:

- add\_docker\_metadata: ~

---

<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:** [March 2, 2023, 4:31am UTC](https://discuss.elastic.co/t/filebeat-output-logtash-wrong-value-in-host-field-seen-in-elasticsearch-index/324493/2 "2023-03-02T04:31:38Z")

</div>

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