fluent / fluentd-docker-image

Docker image for Fluentd
https://hub.docker.com/r/fluent/fluentd/
Apache License 2.0
464 stars 351 forks source link

fluentd docker image v1.11.5 keeps detaching/recovering forwarder server and keep logging unknow key errors #240

Closed mkanna closed 2 months ago

mkanna commented 3 years ago

I am using Fluentd latest docker image and customized by installing only two plugins for elastic search & sumologic. able to ship JAVA logs to another fluentd collector server which is again pushing to ELK. Everything works fine. but the log keeps writing these entries. I have nowhere defined any KEY values. There is no issues with the forward server and all entries were showing up in ELK. but not sure why these entries keep logging. Is this a Bug? what needs to be done here? Please help !

2020-12-17 09:51:27 +0000 [warn]: #0 detached forwarding server '' host="XYZ.COM" port=24224 hard_timeout=true 2020-12-17 09:51:27 +0000 [warn]: #0 recovered forwarding server '' host="XYZ.COM" port=24224 Unknown key: MAX-AGE = 604800 Unknown key: MAX-AGE = 604800 Unknown key: SameSite = None Unknown key: MAX-AGE = 604800 Unknown key: MAX-AGE = 604800 Unknown key: SameSite = None Unknown key: MAX-AGE = 604800 Unknown key: MAX-AGE = 604800 Unknown key: SameSite = None 2020-12-17 09:54:07 +0000 [warn]: #0 detached forwarding server '' host="XYZ.COM" port=24224 phi=45.03231031743231 phi_threshold=16 2020-12-17 09:54:27 +0000 [warn]: #0 recovered forwarding server '' host="XYZ.COM" port=24224 Unknown key: MAX-AGE = 604800 Unknown key: MAX-AGE = 604800 Unknown key: SameSite = None Unknown key: MAX-AGE = 604800 Unknown key: MAX-AGE = 604800 Unknown key: SameSite = None

To Reproduce fluentd_files.txt docker run -itd -v :/fluentd/log/ --name="dev" dev-fluentd:latest

mkanna commented 3 years ago

hi, can someone please comment.

paprickar commented 3 years ago

Hey @mkanna,

sadly can`t help but I have the same problem with https://github.com/SumoLogic/fluentd-output-sumologic

alexnguyen91 commented 2 years ago

I think using disable_cookies should help, I have the same problem and after set disable_cookies those messages disappear

andrewphilp-pbt commented 2 years ago

Thanks @alexnguyen91, setting disable_cookies to true resolved the log spam for me.

kenhys commented 2 months ago

About disable_cookies, see https://github.com/SumoLogic/fluentd-output-sumologic/blob/main/README.md#configuration