Closed blaggacao closed 5 years ago
I know more now. Almost all keys are handled gracefully by fluent-bit: https://github.com/fluent/fluent-bit/blob/3d769693e2b302c7c4db1ee2255efdb1b68250e8/src/flb_pack.c#L1084-L1379
Or can be configured: https://github.com/fluent/fluent-bit/blob/3d769693e2b302c7c4db1ee2255efdb1b68250e8/plugins/out_gelf/gelf.c#L394-L422
The reason it didn't work, is this: https://github.com/fluent/fluent-bit/issues/1291, probably the .
within the key names...
[OUTPUT]
Name gelf
Match *
Host ${FLUENT_GELF_HOST}
Port ${FLUENT_GELF_PORT}
Mode tcp
Gelf_Short_Message_Key log <-- This need update, too under this paradigm
I am a little bit late, but thank you for this contribution. :+1:
Taking this
lift
ed, yet unmodify
d log:date
is just what GELF 1.1 expects:NO need to keep the time field from the docker parser.