【发布时间】:2015-10-29 10:36:18
【问题描述】:
运行 conf 文件时出现此错误
D:\elastic search\logstash-1.5.3\bin>logstash -f mongo.conf
io/console not supported; tty will not be manipulated
Warning: No private key present, creating unsigned gem.
The error reported is:
No connection string specified
这是我的配置文件
input {
mongodb {
uri => 'mongodb://root:root@localhost:27017/mydb'
path => '/opt/logstash-mongodb/logstash_sqlite.db'
collection => 'bike'
port => 27017
unpack_mongo_id => true
batch_size => 5000
}
}
【问题讨论】:
标签: mongodb elasticsearch logstash