MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}

Hi @here ,

I'm getting below error while loading data From mongodb.

MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}.

    input {

  mongodb {
    uri => ['mongodb://X.X.X.X:27017/platform_production']
    placeholder_db_dir => '/home/ubuntu/test'
    placeholder_db_name => 'platform_production.ap_user_stayed_time_test.db'
#    collection => 'ap_user_stayed_time_1589455272971'
    collection => 'ap_user_stayed_time_test'
    batch_size => 500000
    generateId => 'true'
    parse_method => 'simple'
    }

     }


    filter {

    }

     output {
        stdout {
                codec => rubydebug
               }
        elasticsearch {
        action => 'index'
        hosts => ['X.X.X.X:9200']
        index => 'demo-test-1'
              }
         }

Please help me here anyone.

D, [2020-07-04T08:12:31.922005 #9734] DEBUG -- : MONGODB | [19241] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:32.044800 #9734] DEBUG -- : MONGODB | [19241] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.104s
[2020-07-04T08:12:32,045][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:32.063979 #9734] DEBUG -- : MONGODB | [19242] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:32.252101 #9734] DEBUG -- : MONGODB | [19242] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.186s
[2020-07-04T08:12:32,253][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:32.292199 #9734] DEBUG -- : MONGODB | [19243] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:32.413676 #9734] DEBUG -- : MONGODB | [19243] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.102s
[2020-07-04T08:12:32,414][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:32.433141 #9734] DEBUG -- : MONGODB | [19244] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:32.599010 #9734] DEBUG -- : MONGODB | [19244] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.126s
[2020-07-04T08:12:32,600][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:32.601824 #9734] DEBUG -- : MONGODB | [19245] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:32.723059 #9734] DEBUG -- : MONGODB | [19245] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.102s
[2020-07-04T08:12:32,724][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:32.742519 #9734] DEBUG -- : MONGODB | [19246] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:32.914064 #9734] DEBUG -- : MONGODB | [19246] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.132s
[2020-07-04T08:12:32,915][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:32.989877 #9734] DEBUG -- : MONGODB | [19247] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:33.259641 #9734] DEBUG -- : MONGODB | [19247] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.248s
[2020-07-04T08:12:33,297][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:33.299707 #9734] DEBUG -- : MONGODB | [19248] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:33.425044 #9734] DEBUG -- : MONGODB | [19248] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.102s
[2020-07-04T08:12:33,442][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:33.444627 #9734] DEBUG -- : MONGODB | [19249] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:33.606706 #9734] DEBUG -- : MONGODB | [19249] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.143s
[2020-07-04T08:12:33,607][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:33.626025 #9734] DEBUG -- : MONGODB | [19250] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:33.728887 #9734] DEBUG -- : MONGODB | [19250] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.083s
[2020-07-04T08:12:33,730][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:33.748542 #9734] DEBUG -- : MONGODB | [19251] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:33.975324 #9734] DEBUG -- : MONGODB | [19251] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.225s
[2020-07-04T08:12:33,976][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:33.994904 #9734] DEBUG -- : MONGODB | [19252] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:34.143546 #9734] DEBUG -- : MONGODB | [19252] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.126s
[2020-07-04T08:12:34,161][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:34.163269 #9734] DEBUG -- : MONGODB | [19253] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:34.303465 #9734] DEBUG -- : MONGODB | [19253] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.121s
[2020-07-04T08:12:34,304][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:34.343182 #9734] DEBUG -- : MONGODB | [19254] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:34.490785 #9734] DEBUG -- : MONGODB | [19254] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.127s
[2020-07-04T08:12:34,492][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:34.510339 #9734] DEBUG -- : MONGODB | [19255] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:34.652105 #9734] DEBUG -- : MONGODB | [19255] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.122s
[2020-07-04T08:12:34,653][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:34.654934 #9734] DEBUG -- : MONGODB | [19256] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}
D, [2020-07-04T08:12:34.880833 #9734] DEBUG -- : MONGODB | [19256] x.x.x.x:27017 | platform_production.find | SUCCEEDED | 0.224s
[2020-07-04T08:12:34,918][WARN ][logstash.inputs.mongodb  ][main] MongoDB Input threw an exception, restarting {:exception=>org.logstash.MissingConverterException: Missing Converter handling for full class name=org.jruby.gen.RubyObject3, simple name=RubyObject3}
D, [2020-07-04T08:12:34.920648 #9734] DEBUG -- : MONGODB | [19257] x.x.x.x:27017 #1 | platform_production.find | STARTED | {"find"=>"ap_user_stayed_time_1580509469495", "filter"=>{"_id"=>{"$gt"=>BSON::ObjectId('5ece514d1f628f4c58e4b251')}}, "limit"=>500000, "$db"=>"platform_production"}

This is my error. Please help me

Regards,
Bala

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