Relaying from Docker to GELF requires except_fields #19072
avollmerhaus
started this conversation in
General
Replies: 2 comments
-
Hi @avollmerhaus ! This does seem like a possible bug or at least a situation that we should make easier to deal with, would you mind opening an issue? As a workaround, I think you can convert the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks for the quick feedback! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I'm trying to use Vector to relay log messages from my local Docker installation to a Graylog server.
I know Docker has native GELF logging capability, but when the Graylog server is unreachable for whatever reason the GELF logging driver prevents Docker from starting containers, unfortunately.
My solution is to scrape the Docker logs with Vector and send them to the Graylog server.
So this is my Vector config:
Using it somewhat works, but there are frequent errors like this in the vector log:
These errors lead to a lot of missing messages in Graylog.
The errors go away when adding
except_fields: ["label", "container_created_at"]
to theencoding
section of the sink, and it doesn't seem like there is anything missing on the Graylog side when omitting these fields.But I don't fully understand the ramifications.
Should I file a Github issue about this?
Beta Was this translation helpful? Give feedback.
All reactions