Hello All,
This is just a follow up on my old question where I achived to run fluend forwards on my serverless infrastructure. However for log forwading I am using gelf plugin . My config is below
<match fluent.**>
@type copy
and I am encountering
2021-08-10 10:42:29 +0000 [error]: #0 failed to emit fluentdâs log event tag=âfluent.infoâ event={âportâ=>24224, âbindâ=>â127.0.0.1â, âmessageâ=>âlistening port port=24224 bind="127.0.0.1"â} error_class=EncodingError error=âEmpty input (after ) at line 1, column 1 [parse.c:1063] in 'listening port port=24224 bind="127.0.0.1"â
2021-08-10 10:42:29 +0000 [warn]: #0 emit transaction failed: error_class=EncodingError error=âEmpty input (after ) at line 1, column 2 [parse.c:1063] in 'fluentd worker is now running worker=0â location=â/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-gelf-0.2.4/lib/fluent/plugin/gelf_plugin_util.rb:39:in `loadââ tag=âfluent.infoâ
And While I am hitting localhost 24224 I am encountering
2021-08-10 10:59:00 +0000 [error]: #0 failed to emit fluentdâs log event tag=âfluent.warnâ event={âhostâ=>â127.0.0.1â, âmsgâ=>97, âmessageâ=>âincoming chunk is broken: host="127.0.0.1" msg=97â} error_class=EncodingError error=âEmpty input (after ) at line 1, column 1 [parse.c:1063] in 'incoming chunk is broken: host="127.0.0.1" msg=97â
2021-08-10 10:59:00 +0000 [warn]: #0 emit transaction failed: error_class=EncodingError error=âEmpty input (after ) at line 1, column 1 [parse.c:1063] in 'incoming chunk is broken: host="127.0.0.1" msg=10â location=â/usr/lib/ruby/gems/2.7.0/gems/fluent-plugin-gelf-0.2.4/lib/fluent/plugin/gelf_plugin_util.rb:39:in `loadââ tag=âfluent.warnâ
2021-08-10 10:59:00 +0000 [warn]: #0 suppressed same stacktrace
Can anyone help in this , please
Regards,
Irshad
Blockquote