This repository has been archived by the owner on May 16, 2023. It is now read-only.
Metricbeat and Filebeat dont send correct hostname (host.name) #462
Labels
duplicate
This issue or pull request already exists
Chart version:
7.5.2
Kubernetes version:
v1.14.6
Kubernetes provider:
On-premise installed using RKE
Helm Version:
v2.14.3
helm get release
outputOutput of helm get elasticsearch
Output of helm get kibana
Output of helm get filebeat
Output of helm get metricbeat
Describe the bug:
After apply all this helms I check the kibana metrics home page and check the hosts. The host dont was with the name of metric's pod. And when I check the host.name attribute sent by filebeat, the same bug, but now with the filebeat pod's name.
Steps to reproduce:
Expected behavior:
Show the real hostname.
Any additional context:
After a extensive research to find the reason I found this a discussion on elastic site talking about that. In this discussion someone recommend to use hostNetwork as true.
I check it and it really works. But filebeat and metricbeat conflict on port 5066.
https://discuss.elastic.co/t/metricbeat-on-kubernetes-field-beat-hostname-got-the-pod-name-and-no-the-host-name/164438
The text was updated successfully, but these errors were encountered: