logstash-input-mongodb
logstash-input-mongodb copied to clipboard
"comparison of Fixnum with nil failed"
Hi,
I am trying out logstash and I was very happy to find this plugin.
I installed the plugin but when I use to pull the database i get the following error:
D, [2016-01-07T03:59:54.337000 #9574] DEBUG -- : MONGODB | Adding localhost:27017 to the cluster. D, [2016-01-07T03:59:54.501000 #9574] DEBUG -- : MONGODB | localhost:27017 | umbrella.find | STARTED | {"find"=>"system.namespaces", "filter"=>{:name=>{"$not"=>/system.|$/}}} D, [2016-01-07T03:59:54.509000 #9574] DEBUG -- : MONGODB | localhost:27017 | umbrella.find | FAILED | comparison of Fixnum with nil failed | 0.006s The error reported is: comparison of Fixnum with nil failed
This is my config:
input { mongodb { uri => 'mongodb://localhost:27017/umbrella' placeholder_db_dir => '/opt/logstash-mongodb/' placeholder_db_name => 'logstash_sqlite.db' collection => 'users' } }
I have the umrella db and users collection. I am using logstash version 2.1.1
Any idea what is causing this issue?
Thank you in advance