Does this work with version 5.6? I realised i needed older version to work with mongo connector and this doesn't seem to be setting the password for tag 5.6.16.
I have a mongodb that is around 1TB in size and I want to use elastic search to create an index for it but all the guides I have found refer to connectors that don't work with recent versions.
You need to send your existing data to elasticsearch.
That means:
Read from the database (SELECT * from TABLE)
Convert each record to a JSON Document
Send the json document to elasticsearch, preferably using the _bulk API.
Logstash can help for that (have a look at MongoDB Logstash Integration [Solved]). But I'd recommend modifying the application layer if possible and send data to elasticsearch in the same "transaction" as you are sending your data to the database.
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.