I have the filebeat running in a docker container and logstash running in a different docker container.
In configuration of filebeat.yml, the logstash IP is set as with the IP of logstash as http://:5044.
Facing the below error
WARN DNS lookup failure "http://172.17.0.2:5044": lookup http://localhost:5044/: invalid domain name 2017/04/14 14:16:51.537977 single.go:126: INFO Connecting error publishing events (retrying): lookup http://localhost:5044/: invalid domain name 2017/04/14 14:16:51.538000 single.go:152: INFO send fail
Configuration of filebeat.yml with regards to log stash configuration
output:
logstash:
enabled: true
hosts:
- "172.17.0.2:5044"
Should the docker ip of log stash be used or a separate IP be used?