Hello!
I have a custom Nginx container, where I added the following log_driver
external_links:
- 'elk-docker/elk-logstash:'
log_driver: gelf
log_opt:
gelf-address: udp://elk-logstash:11111
gelf-tag: rails-nginx
elk-logstash is in the same environment, but a different stack and on a different host. It works fine if I use the ip address of the ELK host. If I link by service name I receive the following error:
Stopped (500 Server Error: Internal Server Error (“Failed to initialize logging driver: gelf: cannot connect to GELF endpoint: elk- logstash:11111 dial udp: lookup elk- logstash on 8 .8.8.8:53: no such host”))
Host:
Any chance this is solvable in Rancher?
Thanks in advance