# Replace RabbitMQ river for Elasticsearch from Logstash

**URL:** https://discuss.elastic.co/t/replace-rabbitmq-river-for-elasticsearch-from-logstash/26405
**Category:** Logstash
**Created:** [July 28, 2015, 9:38am UTC](https://discuss.elastic.co/t/replace-rabbitmq-river-for-elasticsearch-from-logstash/26405 "2015-07-28T09:38:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nguafogu78](https://avatars.discourse-cdn.com/v4/letter/n/43a26b/32.png) [@nguafogu78](https://discuss.elastic.co/u/nguafogu78)
#### Post date: [July 28, 2015, 9:38am UTC](https://discuss.elastic.co/t/replace-rabbitmq-river-for-elasticsearch-from-logstash/26405/1 "2015-07-28T09:38:37Z")

</div>

Hi,

I'd like to know how it works from Logstash 1.5.x if I want to send data from Logstash to Elasticsearch through a RabbitMQ server.

I understand the rabbitMQ river is deprecated since then so I want to know how to configure ES and Logstash to make it work.

In Logstash 1.4.2, I was using the elasticsearch\_river output plugin and the rabbitq\_mq river plugin in ES 1.3.4.

Does it work now if I use only the rabbitmq output plugin from Logstash 1.5.x not spceifying any ES informations ? How would it work ?

Can someone provide me with a sample, please ?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [July 28, 2015, 10:03am UTC](https://discuss.elastic.co/t/replace-rabbitmq-river-for-elasticsearch-from-logstash/26405/2 "2015-07-28T10:03:52Z")

</div>

Typically you would have a second Logstash instance that reads from RabbitMQ and indexes into Elasticsearch. This is covered [in this guide about scaling and deploying Logstash](https://www.elastic.co/guide/en/logstash/current/deploying-and-scaling.html).

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2017, 5:33am UTC](https://discuss.elastic.co/t/replace-rabbitmq-river-for-elasticsearch-from-logstash/26405/3 "2017-07-06T05:33:39Z")

</div>


