logstash-input-mongodb
logstash-input-mongodb copied to clipboard
help me !!!!
input {
mongodb {
uri => 'mongodb://root:[email protected]/xxxx?authSource=admin'
placeholder_db_dir => 'E:/opt/logstash-mongodb'
placeholder_db_name => 'logstash_sqlite.db'
collection => 'db0'
batch_size => 50
}
}
filter {
}
output {
elasticsearch {
hosts => ["http://localhost:9200"]
index => "index_01"
}
}
exception=>#<Mongo::Error::UnsupportedFeatures: Server at (10.0.2.9:27017) reports wire version (4), but this version of the Ruby driver requires at least (6).>
i want to know the reason!!! how to resolve??
@nicklenjack hello, how did you resolve the problem? can you share that solution, thanks a lot