Logstash Google Cloud Storage Output Plugin Error Msg

I'm trying to set up the logstash-output-google_cloud_storage plugin with a very simple configuration set. The input works just fine, I tested it writing to a local file.

output {
    google_cloud_storage {
      bucket => "test"
      json_key_file => "/home/user/test"
    }
}

This is the error I'm getting.

Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash. com.headius.invokebinder.InvalidTransformException: arguments matching arg. * are not all of the same type

[2020-06-24T01:02:23,789][ERROR][org.logstash.execution.WorkerLoop][main] Exception in pipelineworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash. com.headius.invokebinder.InvalidTransformException: arguments matching arg.* are not all of the same type 
at com.headius.invokebinder.Signature.collect(Signature.java:493) ~[jruby-complete-9.2.11.1.jar:?]
at com.headius.invokebinder.SmartBinder.collect(SmartBinder.java:851) ~[jruby-complete-9.2.11.1.jar:?]
at org.jruby.ir.targets.Bootstrap.buildMethodMissingHandle(Bootstrap.java:631) ~[jruby-complete-9.2.11.1.jar:?]
at org.jruby.ir.targets.InvokeSite.invoke(InvokeSite.java:175) ~[jruby-complete-9.2.11.1.jar:?]
at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_google_cloud_storage_minus_4_dot_1_dot_0_minus_java.lib.logstash.outputs.gcs.log_rotate.RUBY$block$write$1(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-google_cloud_storage-4.1.0-java/lib/logstash/outputs/gcs/log_rotate.rb:30) ~[?:?]
at org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:148) ~[jruby-complete-9.2.11.1.jar:?]
at org.jruby.runtime.IRBlockBody.yieldSpecific(IRBlockBody.java:66) ~[jruby-complete-9.2.11.1.jar:?]
at org.jruby.runtime.Block.yieldSpecific(Block.java:153) ~[jruby-complete-9.2.11.1.jar:?]
at org.jruby.ir.targets.YieldSite.yieldSpecific(YieldSite.java:156) ~[jruby-complete-9.2.11.1.jar:?]
at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.concurrent_minus_ruby_minus_1_dot_1_dot_6.lib.concurrent_minus_ruby.concurrent.atomic.reentrant_read_write_lock.RUBY$method$with_write_lock$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/concurrent-ruby-1.1.6/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb:147) ~[?:?]
at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_google_cloud_storage_minus_4_dot_1_dot_0_minus_java.lib.logstash.outputs.gcs.log_rotate.RUBY$method$write$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-google_cloud_storage-4.1.0-java/lib/logstash/outputs/gcs/log_rotate.rb:27) ~[?:?]
at usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_output_minus_google_cloud_storage_minus_4_dot_1_dot_0_minus_java.lib.logstash.outputs.google_cloud_storage.RUBY$method$multi_receive_encoded$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-output-google_cloud_storage-4.1.0-java/lib/logstash/outputs/google_cloud_storage.rb:189) ~[?:?]
at usr.share.logstash.logstash_minus_core.lib.logstash.outputs.base.RUBY$method$multi_receive$0(/usr/share/logstash/logstash-core/lib/logstash/outputs/base.rb:103) ~[?:?]
at org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:108) ~[jruby-complete-9.2.11.1.jar:?]
at org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:140) ~[jruby-complete-9.2.11.1.jar:?]
at org.jruby.internal.runtime.methods.DynamicMethod.call(DynamicMethod.java:200) ~[jruby-complete-9.2.11.1.jar:?]
at org.logstash.config.ir.compiler.OutputStrategyExt$AbstractOutputStrategyExt.invokeOutput(OutputStrategyExt.java:148) ~[logstash-core.jar:?]
at org.logstash.config.ir.compiler.OutputStrategyExt$SimpleAbstractOutputStrategyExt.doOutput(OutputStrategyExt.java:270) ~[logstash-core.jar:?]
at org.logstash.config.ir.compiler.OutputStrategyExt$SingleOutputStrategyExt.output(OutputStrategyExt.java:287) ~[logstash-core.jar:?]
at org.logstash.config.ir.compiler.OutputStrategyExt$AbstractOutputStrategyExt.multiReceive(OutputStrategyExt.java:138) ~[logstash-core.jar:?]
at org.logstash.config.ir.compiler.OutputDelegatorExt.doOutput(OutputDelegatorExt.java:102) ~[logstash-core.jar:?]
at org.logstash.config.ir.compiler.AbstractOutputDelegatorExt.multiReceive(AbstractOutputDelegatorExt.java:121) ~[logstash-core.jar:?]
at org.logstash.generated.CompiledDataset2.compute(Unknown Source) ~[?:?]
at org.logstash.generated.CompiledDataset3.compute(Unknown Source) ~[?:?]
at org.logstash.config.ir.CompiledPipeline$CompiledUnorderedExecution.compute(CompiledPipeline.java:343) ~[logstash-core.jar:?]
at org.logstash.config.ir.CompiledPipeline$CompiledUnorderedExecution.compute(CompiledPipeline.java:333) ~[logstash-core.jar:?]
at org.logstash.execution.WorkerLoop.run(WorkerLoop.java:83) [logstash-core.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_252]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_252]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_252]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_252]
at org.jruby.javasupport.JavaMethod.invokeDirectWithExceptionHandling(JavaMethod.java:441) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.javasupport.JavaMethod.invokeDirect(JavaMethod.java:305) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.java.invokers.InstanceMethodInvoker.call(InstanceMethodInvoker.java:32) [jruby-complete-9.2.11.1.jar:?]
at usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$block$start_workers$5(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:278) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:138) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:52) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.runtime.Block.call(Block.java:139) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.RubyProc.call(RubyProc.java:318) [jruby-complete-9.2.11.1.jar:?]
at org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105) [jruby-complete-9.2.11.1.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_252]

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.