# RabbitMQ to Elasticsearch

**URL:** https://discuss.elastic.co/t/rabbitmq-to-elasticsearch/68032
**Category:** Elasticsearch
**Created:** [December 5, 2016, 11:44am UTC](https://discuss.elastic.co/t/rabbitmq-to-elasticsearch/68032 "2016-12-05T11:44:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![andymcollins](https://avatars.discourse-cdn.com/v4/letter/a/d78d45/32.png) [@andymcollins](https://discuss.elastic.co/u/andymcollins)
#### Post date: [December 5, 2016, 11:44am UTC](https://discuss.elastic.co/t/rabbitmq-to-elasticsearch/68032/1 "2016-12-05T11:44:44Z")

</div>

I have a number of documents that are sent to RabbitMQ, I would like these to be sent to Elasticsearch, what is the best way to do this, i have seen a number of articles mention 'river' but believe this to be depreciated.

I am assuming i will need to use Logstash in some way, does beats come into it anywhere?

Are there any prebuilt examples anywhere i can get something basic working.

Thanks

---

<div class="post-metadata">

### Author: ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)
#### Post date: [December 5, 2016, 12:06pm UTC](https://discuss.elastic.co/t/rabbitmq-to-elasticsearch/68032/2 "2016-12-05T12:06:56Z")

</div>

I think Logstash is your best option; use a rabbitmq input and an elasticsearch output, possibly with a few filters for processing the message payload. I'm not aware of any Beats-based program that does this.

---

<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: [January 2, 2017, 12:07pm UTC](https://discuss.elastic.co/t/rabbitmq-to-elasticsearch/68032/3 "2017-01-02T12:07:00Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
