Is it possible to relay the logs from a docker container to more than one server using gelf? Is it possible to relay the logs from a docker container to more than one server using gelf? docker docker

Is it possible to relay the logs from a docker container to more than one server using gelf?


Looking at docker's code here and here I'd say that currently only a single target address is supported.

// New creates a gelf logger using the configuration passed in on the// context. The supported context configuration variable is gelf-address.func New(info logger.Info) (logger.Logger, error) {    // parse gelf address    address, err := parseAddress(info.Config["gelf-address"])

Potentially, this project andviro/grayproxy looks like it could help you take a single GELF input, and forward it to multiple GELF collectors:

By default grayproxy configures the input at udp://0.0.0.0:12201 and no outputs. Outputs are added using -out flag and may be specified multiple times