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