开发者社区 > 大数据与机器学习 > 检索分析服务 Elasticsearch版 > 正文

logstash output mongodb 遇到以下参数问题 求解决

[2020-05-30T15:01:16,249][WARN ][logstash.outputs.mongodb ][main] MONGODB | Failed to handshake with 192.168.6.236:27017: ArgumentError: wrong number of arguments (given 2, expected 1): /home/logstash/vendor/bundle/jruby/2.5.0/gems/bson-4.8.2-java/lib/bson/hash.rb:120:in from_bson' /home/logstash/vendor/bundle/jruby/2.5.0/gems/mongo-2.12.1/lib/mongo/dbref.rb:110:infrom_bson' /home/logstash/vendor/bundle/jruby/2.5.0/gems/mongo-2.12.1/lib/mongo/protocol/serializers.rb:378:in deserialize' /home/logstash/vendor/bundle/jruby/2.5.0/gems/mongo-2.12.1/lib/mongo/protocol/message.rb:380:inblock in deserialize_array' /home/logstash/vendor/bundle/jruby/2.5.0/gems/mongo-2.12.1/lib/mongo/protocol/message.rb:380:in deserialize_array' /home/logstash/vendor/bundle/jruby/2.5.0/gems/mongo-2.12.1/lib/mongo/protocol/message.rb:224:inblock in deserialize'

展开
收起
1165815576844838 2020-05-30 15:14:24 1382 0
0 条回答
写回答
取消 提交回答

阿里云检索分析服务Elasticsearch版兼容开源ELK功能,免运维全托管,提升企业数据检索与运维分析能力。

热门讨论

热门文章

相关电子书

更多
Data as a Service - 数据即服务 -- MongoDB⾼级应⽤模式 立即下载
阿里云MongoDB云服务构建 立即下载
饿了么高级架构师陈东明:MongoDB是如何逐步提高可靠性的 立即下载