# RabbitMQ to LogStash / Elasticsearch

**URL:** <https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676>\
**Category:** Logstash\
**Created:** [February 1, 2016, 9:57pm UTC](https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676 "2016-02-01T21:57:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akshay\_Shah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshay_shah/32/26534_2.png) [@Akshay\_Shah](https://discuss.elastic.co/u/Akshay_Shah)\
**Post date:** [February 1, 2016, 9:57pm UTC](https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676/1 "2016-02-01T21:57:14Z")

</div>

I m very new to ElasticSearch and LogStash. and I want to move messages out from RabbitMQ for ElasticSearch and further Kibana to visualize aggregations.

**Application Messages \>\> RabbitMQ \>\> LogStash \>\> Index in ElasticSearch \>\> Visualize on Kibana.**

On windows server, I installed ElasticSearch and LogStash 2.1.1.

Now I do understand that there is a rabbitmq plugin  
[https://www.elastic.co/guide/en/logstash/current/plugins-inputs-rabbitmq.html](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-rabbitmq.html)

**Logstash error**  
I tried to install and get this error on LogStash.  
C:\logstash-2.1.1\bin\>plugin install rabbitmq --verbose  
_rabbitmq is not a Logstash plugin_  
_ERROR: Installation aborted, verification failed for rabbitmq_

**Elasticsearch error**  
I then tried to install on Elasticsearch  
C:\elasticsearch-2.1.1\bin\>plugin install rabbitmq --verbose  
_-\> Installing rabbitmq..._  
_Trying [https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi](https://download.elastic.co/elasticsearch/release/org/elasticsearch/plugi)_  
_n/rabbitmq/2.1.1/rabbitmq-2.1.1.zip ..._  
_Failed: FileNotFoundException[[https://download.elastic.co/elasticsearch/release/](https://download.elastic.co/elasticsearch/release/)_  
_org/elasticsearch/plugin/rabbitmq/2.1.1/rabbitmq-2.1.1.zip]; nested: FileNotFoun_  
_dException[[https://download.elastic.co/elasticsearch/release/org/elasticsearch/p](https://download.elastic.co/elasticsearch/release/org/elasticsearch/p)_  
_lugin/rabbitmq/2.1.1/rabbitmq-2.1.1.zip];_  
_ERROR: failed to download out of all possible locations..., use --verbose to get_

- detailed information\*

---

<div class="post-metadata">

**Author:** ![ben.joyce](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ben.joyce/32/7393_2.png) [@ben.joyce](https://discuss.elastic.co/u/ben.joyce)\
**Post date:** [February 1, 2016, 11:39pm UTC](https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676/2 "2016-02-01T23:39:47Z")

</div>

Hi. Thought I'd try this to see if it worked for me. It didn't. Same  
error ☹

Some googling led me to think that the rabbitmq plugin needs to be  
downloaded - but how?

Eventually found this: (modify the path to your ruby install under you  
logstash folder if needed)

C:\Elastic\logstash\vendor\jruby\bin\>gem fetch logstash-input-rabbitmq  
io/console not supported; tty will not be manipulated  
Fetching: logstash-input-rabbitmq-3.1.3.gem (100%)  
Downloaded logstash-input-rabbitmq-3.1.3

Then this:

C:\Elastic\logstash\bin\>plugin install logstash-input-rabbitmq  
io/console not supported; tty will not be manipulated  
Validating logstash-input-rabbitmq  
Installing logstash-input-rabbitmq  
Installation successful

Haven't tried the plugin myself yet, but hope this helps.

---

<div class="post-metadata">

**Author:** ![Akshay\_Shah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akshay_shah/32/26534_2.png) [@Akshay\_Shah](https://discuss.elastic.co/u/Akshay_Shah)\
**Post date:** [February 2, 2016, 1:04am UTC](https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676/3 "2016-02-02T01:04:31Z")

</div>

Thank you, so much that did get it installed.  
One more question from the newbie; where do I put the config information of RabbitMQ host/port/login etc. in logstash?

Thank you once again.

---

<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:** [February 2, 2016, 7:11am UTC](https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676/4 "2016-02-02T07:11:41Z")

</div>

> One more question from the newbie; where do I put the config information of RabbitMQ host/port/login etc. in logstash?

Put a rabbitmq block in any input block in any Logstash file.

```auto
input {
  rabbitmq {
    ...
  }
}

```

---

<div class="post-metadata">

**Author:** ![roopa](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@roopa](https://discuss.elastic.co/u/roopa)\
**Post date:** [December 19, 2016, 8:59am UTC](https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676/5 "2016-12-19T08:59:21Z")

</div>

Hi Sir,

I am new to DevOps field.  
Even I am having the same requirements as yours.  
That is I need to send the RabbitMq logs to Logstash and Visualize in Kibana.

But I Dont know how to move forward.  
I have installed Kibana 5, Logstash 5.X, Elastc Search and Filebeat.

I am confused how to move forward.

Please help to move forward.

Thanks in Advance,  
Roopa K

---

<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, 4:29am UTC](https://discuss.elastic.co/t/rabbitmq-to-logstash-elasticsearch/40676/6 "2017-07-06T04:29:47Z")

</div>


