DarkMatter in Cyberspace
  • Home
  • Categories
  • Tags
  • Archives

Elasticsearch River for MongoDB


According to Deprecating Rivers, river is not supported any more.

Mongo River

http://backslash451.github.io/articles/Running-ElasticSearch-with-MongoDB-and-Kibana/

Buy a mongodb on QingCloud. Connect to database with mongo 119.254.211.28:15515 --authenticationDatabase admin -u root -p nodeJS@2015. and run rs.status() to verify the replica set is working.

Setup Elasticsearch

See note "Elasticsearch Notes".

Setup Kibana

See note "Kibana Notes".

Install River Plugin

Follow ichardwilly98/elasticsearch-river-mongodb.

Run bin/plugin install com.github.richardwilly98.elasticsearch/elasticsearch-river-mongodb/2.0.9 at $ES_HOME.

List plugins: bin/plugin list. Get help: bin/plugin -h.

When install in 2.0.0, there is an error: ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip. For now, use elasticsearch 1.7.3 with river.

List plugins in v1.7.3: sudo /usr/share/elasticsearch/bin/plugin --list.



Published

Oct 30, 2015

Last Updated

Oct 30, 2015

Category

Tech

Tags

  • elasticsearch 6
  • mongodb 24
  • river 1

Contact

  • Powered by Pelican. Theme: Elegant by Talha Mansoor