Hi everyone, i'm trying to install elk and filebeat on docker, well i uploaded the image of elk and it worked i can go to the kibana dashboard and view elastic ,...
Now I want to install filebeat image so i followed the documentation bellow , the image is pulled but when I want to run filebeat setup command i got an error.
Documentation: Run Filebeat on Docker | Filebeat Reference [8.1] | Elastic
docker run docker.elastic.co/beats/filebeat:8.1.2 setup -E setup.kibana.host=kibana:5601 -E output.elasticsearch.hosts=["elasticsearch:5601"]
This is the error:
Exiting: couldn't connect to any of the configured Elasticsearch hosts. Errors: [error connecting to Elasticsearch at http://elasticsearch:9200: Get "http://elasticsearch:9200": lookup elasticsearch on 192.168.65.5:53: read udp 172.17.0.2:41384->192.168.65.5:53: i/o timeout]