logstash-input-mongodb icon indicating copy to clipboard operation
logstash-input-mongodb copied to clipboard

help me !!!!

Open nicklenjack opened this issue 2 years ago • 1 comments

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 avatar Apr 26 '22 09:04 nicklenjack

@nicklenjack hello, how did you resolve the problem? can you share that solution, thanks a lot

SoldierProgrammer avatar Feb 03 '23 02:02 SoldierProgrammer