Introduction
There are two ways to insert your data in ElasticSearch. In the previous chapters we have seen the index API, which allows storing documents in ElasticSearch via the PUT/POST API or the bulk shortcut. The other way is to use a service that fetches the data from an external source (one shot or periodically) and puts the data into the cluster.
ElasticSearch names these services as Rivers
and the ElasticSearch community provides several rivers to connect to the following data sources:
- CouchDB
- MongoDB
- RabbitMQ
- SQL DBMS (Oracle, MySQL, PostgreSQL and so on)
- Redis
- Wikipedia
The rivers are available as external plugins.
In this chapter we'll discuss how to manage a river (creating, checking, and deleting) and how to configure the most common ones.