echo ‘{“message”:“hello”}’ | fluent-cat debug.log
wrong number of arguments (1 for 0)
2022-01-21 12:26:09 -0500 [warn]: fluent/root_agent.rb:187:emit_error_event: dump an error event: error_class=ArgumentError error=“wrong number of arguments (1 for 0)” location="/opt/csw/lib/ruby/gems/2.0.0/gems/yajl-ruby-1.4.1/lib/yajl.rb:80:in initialize'" tag="fluent.warn" time=1642785969 record={"error_class"=>"ArgumentError", "error"=>"wrong number of arguments (1 for 0)", "location"=>"/opt/csw/lib/ruby/gems/2.0.0/gems/yajl-ruby-1.4.1/lib/yajl.rb:80:in
initialize’", “tag”=>“fluent.debug”, “time”=>1642785969, “record”=>{“message”=>“fluentd main process get SIGINT”, “@timestamp”=>“2022-01-21T12:26:09-05:00”}, “message”=>“dump an error event: error_class=ArgumentError error=“wrong number of arguments (1 for 0)” location=”/opt/csw/lib/ruby/gems/2.0.0/gems/yajl-ruby-1.4.1/lib/yajl.rb:80:in `initialize’" tag=“fluent.debug” time=1642785969 record={“message”=>“fluentd main process get SIGINT”, “@timestamp”=>“2022-01-21T12:26:09-05:00”}", “@timestamp”=>“2022-01-21T12:26:09-05:00”}
Please help!