However, on the stack dashboard, for my_service I get:
my_service (Expected state running but got error: Error response from daemon: failed to initialize logging driver: dial tcp: lookup elk-custom on 10.0.2.3:53: server misbehaving)
Is there anything additional needed to make the specific logging (elk-custom) service discoverable?
Thanks; actually I circumvented this on local docker-compose deployment by using 127.0.0.1 as suggested here.
My question now is whether there are any good / best practices on how to go about this?
e.g. the only way is to define another, say logging stack, set a load balancer in front of it and make the stack I want logs from, point to the port exposed by this lb?