logging - log-driver=gelf does not work on CoreOS? -
i'm migrating docker server centos coreos. when tried configure docker demon send log messages logstash using gelf (graylog extended logging format) got following error docker:
error response daemon: cannot start container c2522f318221b53fb360dca08c806f20b5b04b55529e89d79658d328c196c4ca: failed initialize logging driver: failed logging factory: logger: no log driver named 'gelf' registered
q: docker on coreos compiled without gelf support?
i continue using gelf because docker adds fields image_name log-messages default.
q: there log driver supports that?
edit:
the server:
kernel version: 4.1.7-coreos-r1 operating system: coreos 766.5.0
and docker
client version: 1.7.1 client api version: 1.19 server version: 1.7.1 server api version: 1.19
the gelf logging driver added in docker 1.8.0. either upgrade docker (and coreos) or you're out of luck.
Comments
Post a Comment