# How to forward logs from an activeMQ queue to logstash server?

**URL:** <https://discuss.elastic.co/t/how-to-forward-logs-from-an-activemq-queue-to-logstash-server/57987>\
**Category:** Logstash\
**Created:** [August 14, 2016, 1:08pm UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-an-activemq-queue-to-logstash-server/57987 "2016-08-14T13:08:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinay\_Reddy](https://avatars.discourse-cdn.com/v4/letter/v/94ad74/32.png) [@Vinay\_Reddy](https://discuss.elastic.co/u/Vinay_Reddy)\
**Post date:** [August 14, 2016, 1:08pm UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-an-activemq-queue-to-logstash-server/57987/1 "2016-08-14T13:08:49Z")

</div>

I'm new to ELK stack and have the following use case to achieve..

I have an existing environment where some 100 odd servers sends an application log to a ActiveMQ queue on a Central Server.

I need to send data from this Central Server(Data in ActiveMQ quque) to a Logstash server. How can I do it? Also how to write an Custom parser for my application logs?

Thanks in advance.

--  
Vinay Reddy

---

<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:** [August 14, 2016, 1:56pm UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-an-activemq-queue-to-logstash-server/57987/2 "2016-08-14T13:56:10Z")

</div>

As this is unrelated to Filebeat I suggest you edit your post and move it to the Logstash category.

> I have an existing environment where some 100 odd servers sends an application log to a ActiveMQ queue on a Central Server.

> I need to send data from this Central Server(Data in ActiveMQ quque) to a Logstash server. How can I do it?

You should be able to use the jmx input for this.

> Also how to write an Custom parser for my application logs?

That depends on what the logs look like.

---

<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:** [August 14, 2016, 3:11pm UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-an-activemq-queue-to-logstash-server/57987/3 "2016-08-14T15:11:39Z")

</div>

Although I have not used it myself, I believe it should be possible to read data from ActiveMQ using the [stomp input plugin](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-stomp.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:** [September 4, 2016, 1:08pm UTC](https://discuss.elastic.co/t/how-to-forward-logs-from-an-activemq-queue-to-logstash-server/57987/4 "2016-09-04T13:08:50Z")

</div>

This topic was automatically closed after 21 days. New replies are no longer allowed.
