Since river will be deprecated, what is the best way to index files from mongo db into elasticsearch ?
I heard that here is a plugin for logstash but is it the best way ?
Thanks,
Jean.
Since river will be deprecated, what is the best way to index files from mongo db into elasticsearch ?
I heard that here is a plugin for logstash but is it the best way ?
Thanks,
Jean.
I'd imagine first you have to decide what you want to store in Elasticsearch and at what points you get that from Mongodb (on writes? in bulk?). Once you know, there might be a small bit of coding you do on your application or script to generate events and push to something like a message broker from which logstash can grab and push to Elasticsearch. Or you may find just using one of the support Elasticsearch client libraries may do the trick.
Sarwar
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.