Reputation: 5479
I'm currently migrating my docker server from CentOS to CoreOS. When i tried to configure the docker demon to send all log messages to a logstash by using GELF (graylog extended logging format) i got the following error from docker:
Error response from daemon: Cannot start container c2522f318221b53fb360dca08c806f20b5b04b55529e89d79658d328c196c4ca: Failed to initialize logging driver: Failed to get logging factory: logger: no log driver named 'gelf' is registered
Q: Is docker on CoreOS compiled without gelf support?
I would like to continue using gelf because docker adds fields like the image_name to the log-messages by default.
Q: Is there another log driver that supports something like that?
EDIT:
The server:
Kernel Version: 4.1.7-coreos-r1
Operating System: CoreOS 766.5.0
And docker is
Client version: 1.7.1
Client API version: 1.19
Server version: 1.7.1
Server API version: 1.19
Upvotes: 0
Views: 257
Reputation: 13081
The GELF logging driver was added in Docker 1.8.0. Either you upgrade Docker (and CoreOS) or you're out of luck.
Upvotes: 1