gelf отправлять логи наружу?
взял настройки с https://docs.fluentbit.io/manual/pipeline/outputs/gelf
в логах
[2021/11/09 20:16:30] [ warn] [filter:nest:nest.1] Value of key 'log' is not a map. Will not attempt to lift from here
[2021/11/09 20:16:30] [ warn] [filter:nest:nest.1] Value of key 'log' is not a map. Will not attempt to lift from here
[2021/11/09 20:16:30] [ warn] [filter:nest:nest.1] Value of key 'log' is not a map. Will not attempt to lift from here
[2021/11/09 20:16:30] [ warn] [filter:nest:nest.1] Value of key 'log' is not a map. Will not attempt to lift from here
[2021/11/09 20:16:30] [ warn] [filter:nest:nest.1] Value of key 'log' is not a map. Will not attempt to lift from here
[2021/11/09 20:16:30] [ warn] [filter:nest:nest.1] Value of key 'log' is not a map. Will not attempt to lift from here
[2021/11/09 20:16:30] [error] [flb_msgpack_to_gelf] missing short_message key
[2021/11/09 20:16:30] [error] [output:gelf:gelf.0] error encoding to GELF
[2021/11/09 20:16:30] [error] [flb_msgpack_to_gelf] missing short_message key
[2021/11/09 20:16:30] [error] [output:gelf:gelf.0] error encoding to GELF
[2021/11/09 20:16:30] [error] [flb_msgpack_to_gelf] missing short_message key
[2021/11/09 20:16:30] [error] [output:gelf:gelf.0] error encoding to GELF
[2021/11/09 20:16:30] [error] [flb_msgpack_to_gelf] missing short_message key
[2021/11/09 20:16:30] [error] [output:gelf:gelf.0] error encoding to GELF
gelf требует чтобы существовало поле short_message либо message. Он это и пишет в ошибке
Обсуждают сегодня