# Can logstash listen directly from JMS queue using logstash-input-jms plugin?

**URL:** <https://discuss.elastic.co/t/can-logstash-listen-directly-from-jms-queue-using-logstash-input-jms-plugin/76543>\
**Category:** Logstash\
**Created:** [February 26, 2017, 3:50pm UTC](https://discuss.elastic.co/t/can-logstash-listen-directly-from-jms-queue-using-logstash-input-jms-plugin/76543 "2017-02-26T15:50:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranieri\_Mazili\_de\_Ol](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ranieri_mazili_de_ol/32/15815_2.png) [@Ranieri\_Mazili\_de\_Ol](https://discuss.elastic.co/u/Ranieri_Mazili_de_Ol)\
**Post date:** [February 26, 2017, 3:50pm UTC](https://discuss.elastic.co/t/can-logstash-listen-directly-from-jms-queue-using-logstash-input-jms-plugin/76543/1 "2017-02-26T15:50:15Z")

</div>

Hello,

I'm studying a little bit about Beats, Logstash and ElasticSearch and which features of each one I have to use to create a solution.  
I was thinking that I should use Beats to listen a JMS queue and then send this event to Logstash to be parsed and insert it on ElasticSearch but after watch Getting Started with Logstash video I could see that there are a lot of plugin to Logstash to make it listen directly from the sources and I found out logstash-input-jms plugin which looks like a plugin to listen JMS queue.

Is this right? Can I really use Logstash to listen directly from the source?  
When should I use Beats instead of Logstash direclty?  
I've not found any documentation about the plugin (logstash-input-jms). Where can I see if it really does what I need?

I really appreciate any help.  
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:** [February 27, 2017, 6:52am UTC](https://discuss.elastic.co/t/can-logstash-listen-directly-from-jms-queue-using-logstash-input-jms-plugin/76543/2 "2017-02-27T06:52:57Z")

</div>

> Is this right? Can I really use Logstash to listen directly from the source?

If there's a plugin for it and the plugin works for your purposes, yes.

> When should I use Beats instead of Logstash direclty?

The main point of Beats program is to be narrow and lightweight collectors of data with a limited feature set and processing abilities. There is often overlap between what Beats programs can do and what Logstash can do.

> I've not found any documentation about the plugin (logstash-input-jms). Where can I see if it really does what I need?

I don't know why the docs haven't been published, but the source code from which docs are generated are found here:

> <https://github.com/logstash-plugins/logstash-input-jms/blob/main/lib/logstash/inputs/jms.rb>

---

<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:** [March 27, 2017, 6:53am UTC](https://discuss.elastic.co/t/can-logstash-listen-directly-from-jms-queue-using-logstash-input-jms-plugin/76543/3 "2017-03-27T06:53:10Z")

</div>

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