Skip to content

GELF loggind driver #9386

Answered by AkihiroSuda
rusk0 asked this question in Q&A
Discussion options

You must be logged in to vote

[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc.options]
LogDriver = "gelf"
LogOpt = ["gelf-address=udp://1.2.3.4:12022"]
SystemdCgroup = true
Environment = ["ENVIRON=testing"]
(redacted values)

These configuration items except SystemdCgroup do not exist: https://github.com/containerd/containerd/blob/v1.6.24/runtime/v2/runc/options/oci.proto

gelf driver is currently not implemented in containerd.
A workaround would be to watch /var/log/containers with fluentbit or something else:
https://docs.fluentbit.io/manual/pipeline/outputs/gelf

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by AkihiroSuda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants