How to get input like MongoDB for Logstash

I know that we can enter files and output them to the mongo database. But I have a collection in my mongodb that I would like to have as input so that I can use it with ES. Is it possible? Thank.

+4
source share
2 answers

So the short answer seems to be: No, it is not possible to get logon from the database into Logstash.

EDIT

@elssar thanks you for your answer:

Actually, there is a third mongodb entry for logstash - github.com/phutchins/logstash-input-mongodb - elssar

+1
source

You can configure river to retrieve data from MongoDB in Elasticsearch.

. - http://www.codetweet.com/ubuntu-2/configuring-elasticsearch-mongodb/

+3

All Articles