You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello I'm using OSS Logstash 7.10.1 and I tryed to find solution how to get logs from "Synology drive" it's appliaction on Synology NAS. Synology drive doesn't have option for sending logs to syslog and in Synology Log center aren't showed, so I found, that these logs are located in .sqlite db, so I tryed to use this plugin for reading these logs, but it doesn't work, when I put full path with db object it give me back error:
[2021-05-10T10:45:16,895][ERROR][logstash.javapipeline ][testpipeline] A plugin had an unrecoverable error. Will restart this plugin.
Pipeline_id:testpipeline
Plugin: <LogStash::Inputs::Sqlite path=>"/mnt/sqlite/sqlitenas/log-db.sqlite", id=>"8ababd92a8440467ed8c706e1a4599897c4454105a6797b90b2db96c0800f547", enable_metric=>true, codec=><LogStash::Codecs::Plain id=>"plain_085b97f7-cd03-496d-89ab-2282eb84300a", enable_metric=>true, charset=>"UTF-8">, batch=>5>
Error: Missing Converter handling for full class name=org.jruby.gen.RubyObject31, simple name=RubyObject31
Exception: Java::OrgLogstash::MissingConverterException
Stack: org.logstash.Valuefier.fallbackConvert(Valuefier.java:118)
org.logstash.Valuefier.convert(Valuefier.java:96)
org.logstash.ConvertedMap$1.visit(ConvertedMap.java:55)
org.logstash.ConvertedMap$1.visit(ConvertedMap.java:49)
org.jruby.RubyHash.visitLimited(RubyHash.java:698)
org.jruby.RubyHash.visitAll(RubyHash.java:683)
org.logstash.ConvertedMap.newFromRubyHash(ConvertedMap.java:89)
org.logstash.ext.JrubyEventExtLibrary$RubyEvent.ruby_initialize(JrubyEventExtLibrary.java:92)
usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_sqlite_minus_3_dot_0_dot_4.lib.logstash.inputs.sqlite.RUBY$block$run$2(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-sqlite-3.0.4/lib/logstash/inputs/sqlite.rb:160)
org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:148)
org.jruby.runtime.BlockBody.yield(BlockBody.java:106)
org.jruby.runtime.Block.yield(Block.java:184)
org.jruby.RubyArray.each(RubyArray.java:1809)
usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_sqlite_minus_3_dot_0_dot_4.lib.logstash.inputs.sqlite.RUBY$block$run$1(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-sqlite-3.0.4/lib/logstash/inputs/sqlite.rb:159)
org.jruby.runtime.CompiledIRBlockBody.yieldDirect(CompiledIRBlockBody.java:148)
org.jruby.runtime.BlockBody.yield(BlockBody.java:106)
org.jruby.runtime.Block.yield(Block.java:184)
org.jruby.RubyHash$11.visit(RubyHash.java:1434)
org.jruby.RubyHash$11.visit(RubyHash.java:1431)
org.jruby.RubyHash.visitLimited(RubyHash.java:698)
org.jruby.RubyHash.visitAll(RubyHash.java:683)
org.jruby.RubyHash.iteratorVisitAll(RubyHash.java:1391)
org.jruby.RubyHash.each_pairCommon(RubyHash.java:1426)
org.jruby.RubyHash.each(RubyHash.java:1415)
usr.share.logstash.vendor.bundle.jruby.$2_dot_5_dot_0.gems.logstash_minus_input_minus_sqlite_minus_3_dot_0_dot_4.lib.logstash.inputs.sqlite.RUBY$method$run$0(/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-sqlite-3.0.4/lib/logstash/inputs/sqlite.rb:153)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:106)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:140)
org.jruby.ir.targets.InvokeSite.fail(InvokeSite.java:278)
usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$method$inputworker$0(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:405)
org.jruby.internal.runtime.methods.CompiledIRMethod.call(CompiledIRMethod.java:106)
org.jruby.internal.runtime.methods.MixedModeIRMethod.call(MixedModeIRMethod.java:140)
org.jruby.ir.targets.InvokeSite.fail(InvokeSite.java:278)
usr.share.logstash.logstash_minus_core.lib.logstash.java_pipeline.RUBY$block$start_input$1(/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:396)
org.jruby.runtime.CompiledIRBlockBody.callDirect(CompiledIRBlockBody.java:138)
org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:58)
org.jruby.runtime.IRBlockBody.call(IRBlockBody.java:52)
org.jruby.runtime.Block.call(Block.java:139)
org.jruby.RubyProc.call(RubyProc.java:318)
org.jruby.internal.runtime.RubyRunnable.run(RubyRunnable.java:105)
java.base/java.lang.Thread.run(Thread.java:834)
I read something about path to db instead db object, so I tryed path with "*" at the end, after pipeline reload no errors, but still no data :). Sqlite3 is installed, all permissions are allowded, I don't have any new idea what I can do, so maybe it doesn't work with it and could help make some update or if have someone any advice, I will be really happy. Thanks for reply.
The text was updated successfully, but these errors were encountered:
Hello I'm using OSS Logstash 7.10.1 and I tryed to find solution how to get logs from "Synology drive" it's appliaction on Synology NAS. Synology drive doesn't have option for sending logs to syslog and in Synology Log center aren't showed, so I found, that these logs are located in .sqlite db, so I tryed to use this plugin for reading these logs, but it doesn't work, when I put full path with db object it give me back error:
I read something about path to db instead db object, so I tryed path with "*" at the end, after pipeline reload no errors, but still no data :). Sqlite3 is installed, all permissions are allowded, I don't have any new idea what I can do, so maybe it doesn't work with it and could help make some update or if have someone any advice, I will be really happy. Thanks for reply.
The text was updated successfully, but these errors were encountered: