Hello Elastic Staff
I am not able to collect metrics from filebeat from the defined http port.
I can get the metrics from within the filebeat container with curl -XGET localhost:5066/stats.
When I want to collect the metrics from my machine I get the message "Empty reply from server". The container port is published to the host at port 5066.
Ok I found the solution. I missed to set the variable to http.host: 0.0.0.0.
Is this the expected behavior with the docker setup? Or should it be set by default to this value for docker containers?
Yes I meant if it would be better for the elastic docker beat configs to default to 0.0.0.0 instead of localhost. For server.host the default in docker is already 0.0.0.0.
I looked up the beats repository and couldn't find what I stated. I've read at some place in this forum that it is set for elastic docker containers by default. But sadly I cannot find the topic.
I think this topic is resolved. Thank you for your time and patience
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.