mongodbelasticsearchlogstash

How to have an input of type MongoDB for Logstash


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


Solution

  • So apparently, the short answer is No, it is not possible to have an input from a database in Logstash.

    EDIT

    @elssar thank you for your answer:

    Actually, there is a 3rd party mongodb input for logstash - github.com/phutchins/logstash-input-mongodb – elssar