logstash-input-jms 2.0.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +7 -0
- data/Gemfile +2 -0
- data/NOTICE.TXT +5 -0
- data/README.md +95 -0
- data/lib/logstash/inputs/jms.rb +269 -0
- data/logstash-input-jms.gemspec +33 -0
- data/spec/inputs/jms.yml +18 -0
- data/spec/inputs/jms_spec.rb +30 -0
- metadata +131 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: cfbf32ba96211fade087827f1e3832eaf1f7b650
|
4
|
+
data.tar.gz: ebc1dc1b98c094bb53888256e117797ec287be4e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a9e72638775b4480357628ce479d349f7496b156b9aac4a52d1981264cdcc30f446d81394ea2099ed410f4c24705fecb97f3247226421e6f1b3390bf28f00d62
|
7
|
+
data.tar.gz: 59ed87fbb9f77704eb68eec7ab61dfe18462f4a3a1157e631edad60d5e183cd402e08d36b2caac668eec6e8db4de0866758f1413f217cbca4846dd752f154186
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
## 2.0.0
|
2
|
+
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
|
3
|
+
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
|
4
|
+
- Dependency on logstash-core update to 2.0
|
5
|
+
|
6
|
+
# 0.1.1
|
7
|
+
- make the plugin, 1.5 friendly by using logstash-core
|
data/Gemfile
ADDED
data/NOTICE.TXT
ADDED
data/README.md
ADDED
@@ -0,0 +1,95 @@
|
|
1
|
+
# Logstash Plugin
|
2
|
+
|
3
|
+
This is a plugin for [Logstash](https://github.com/elastic/logstash).
|
4
|
+
|
5
|
+
It is fully free and fully open source. The license is Apache 2.0, meaning you are pretty much free to use it however you want in whatever way.
|
6
|
+
|
7
|
+
## Documentation
|
8
|
+
|
9
|
+
Logstash provides infrastructure to automatically generate documentation for this plugin. We use the asciidoc format to write documentation so any comments in the source code will be first converted into asciidoc and then into html. All plugin documentation are placed under one [central location](http://www.elastic.co/guide/en/logstash/current/).
|
10
|
+
|
11
|
+
- For formatting code or config example, you can use the asciidoc `[source,ruby]` directive
|
12
|
+
- For more asciidoc formatting tips, see the excellent reference here https://github.com/elastic/docs#asciidoc-guide
|
13
|
+
|
14
|
+
## Need Help?
|
15
|
+
|
16
|
+
Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
|
17
|
+
|
18
|
+
## Developing
|
19
|
+
|
20
|
+
### 1. Plugin Developement and Testing
|
21
|
+
|
22
|
+
#### Code
|
23
|
+
- To get started, you'll need JRuby with the Bundler gem installed.
|
24
|
+
|
25
|
+
- Create a new plugin or clone and existing from the GitHub [logstash-plugins](https://github.com/logstash-plugins) organization.
|
26
|
+
|
27
|
+
- Install dependencies
|
28
|
+
```sh
|
29
|
+
bundle install
|
30
|
+
```
|
31
|
+
|
32
|
+
#### Test
|
33
|
+
|
34
|
+
```sh
|
35
|
+
bundle exec rspec
|
36
|
+
```
|
37
|
+
|
38
|
+
The Logstash code required to run the tests/specs is specified in the `Gemfile` by the line similar to:
|
39
|
+
```ruby
|
40
|
+
gem "logstash", :github => "elasticsearch/logstash", :branch => "1.5"
|
41
|
+
```
|
42
|
+
To test against another version or a local Logstash, edit the `Gemfile` to specify an alternative location, for example:
|
43
|
+
```ruby
|
44
|
+
gem "logstash", :github => "elasticsearch/logstash", :ref => "master"
|
45
|
+
```
|
46
|
+
```ruby
|
47
|
+
gem "logstash", :path => "/your/local/logstash"
|
48
|
+
```
|
49
|
+
|
50
|
+
Then update your dependencies and run your tests:
|
51
|
+
|
52
|
+
```sh
|
53
|
+
bundle install
|
54
|
+
bundle exec rspec
|
55
|
+
```
|
56
|
+
|
57
|
+
### 2. Running your unpublished Plugin in Logstash
|
58
|
+
|
59
|
+
#### 2.1 Run in a local Logstash clone
|
60
|
+
|
61
|
+
- Edit Logstash `tools/Gemfile` and add the local plugin path, for example:
|
62
|
+
```ruby
|
63
|
+
gem "logstash-filter-awesome", :path => "/your/local/logstash-filter-awesome"
|
64
|
+
```
|
65
|
+
- Update Logstash dependencies
|
66
|
+
```sh
|
67
|
+
rake vendor:gems
|
68
|
+
```
|
69
|
+
- Run Logstash with your plugin
|
70
|
+
```sh
|
71
|
+
bin/logstash -e 'filter {awesome {}}'
|
72
|
+
```
|
73
|
+
At this point any modifications to the plugin code will be applied to this local Logstash setup. After modifying the plugin, simply rerun Logstash.
|
74
|
+
|
75
|
+
#### 2.2 Run in an installed Logstash
|
76
|
+
|
77
|
+
- Build your plugin gem
|
78
|
+
```sh
|
79
|
+
gem build logstash-filter-awesome.gemspec
|
80
|
+
```
|
81
|
+
- Install the plugin from the Logstash home
|
82
|
+
```sh
|
83
|
+
bin/plugin install /your/local/plugin/logstash-filter-awesome.gem
|
84
|
+
```
|
85
|
+
- Start Logstash and proceed to test the plugin
|
86
|
+
|
87
|
+
## Contributing
|
88
|
+
|
89
|
+
All contributions are welcome: ideas, patches, documentation, bug reports, complaints, and even something you drew up on a napkin.
|
90
|
+
|
91
|
+
Programming is not a required skill. Whatever you've seen about open source and maintainers or community members saying "send patches or die" - you will not see that here.
|
92
|
+
|
93
|
+
It is more important to me that you are able to contribute.
|
94
|
+
|
95
|
+
For more information about contributing, see the [CONTRIBUTING](https://github.com/elastic/logstash/blob/master/CONTRIBUTING.md) file.
|
@@ -0,0 +1,269 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "logstash/inputs/base"
|
3
|
+
require "logstash/inputs/threadable"
|
4
|
+
require "logstash/namespace"
|
5
|
+
|
6
|
+
# Read events from a Jms Broker. Supports both Jms Queues and Topics.
|
7
|
+
#
|
8
|
+
# For more information about Jms, see <http://docs.oracle.com/javaee/6/tutorial/doc/bncdq.html>
|
9
|
+
# For more information about the Ruby Gem used, see <http://github.com/reidmorrison/jruby-jms>
|
10
|
+
# Here is a config example :
|
11
|
+
# jms {
|
12
|
+
# include_header => false
|
13
|
+
# include_properties => false
|
14
|
+
# include_body => true
|
15
|
+
# use_jms_timestamp => false
|
16
|
+
# interval => 10
|
17
|
+
# queue_name => "myqueue"
|
18
|
+
# yaml_file => "~/jms.yml"
|
19
|
+
# yaml_section => "mybroker"
|
20
|
+
# }
|
21
|
+
#
|
22
|
+
#
|
23
|
+
class LogStash::Inputs::Jms < LogStash::Inputs::Threadable
|
24
|
+
config_name "jms"
|
25
|
+
|
26
|
+
# A JMS message has three parts :
|
27
|
+
# Message Headers (required)
|
28
|
+
# Message Properties (optional)
|
29
|
+
# Message Bodies (optional)
|
30
|
+
# You can tell the input plugin which parts should be included in the event produced by Logstash
|
31
|
+
#
|
32
|
+
# Include JMS Message Header Field values in the event
|
33
|
+
config :include_header, :validate => :boolean, :default => true
|
34
|
+
# Include JMS Message Properties Field values in the event
|
35
|
+
config :include_properties, :validate => :boolean, :default => true
|
36
|
+
# Include JMS Message Body in the event
|
37
|
+
# Supports TextMessage, MapMessage and ByteMessage
|
38
|
+
# If the JMS Message is a TextMessage or ByteMessage, then the value will be in the "message" field of the event
|
39
|
+
# If the JMS Message is a MapMessage, then all the key/value pairs will be added in the Hashmap of the event
|
40
|
+
# StreamMessage and ObjectMessage are not supported
|
41
|
+
config :include_body, :validate => :boolean, :default => true
|
42
|
+
# Convert the JMSTimestamp header field to the @timestamp value of the event
|
43
|
+
# Don't use it for now, it is buggy
|
44
|
+
config :use_jms_timestamp, :validate => :boolean, :default => false
|
45
|
+
|
46
|
+
# Choose an implementation of the run block. Value can be either consumer, async or thread
|
47
|
+
config :runner, :validate => [ "consumer", "async", "thread" ], :default => "consumer"
|
48
|
+
|
49
|
+
# Set the selector to use to get messages off the queue or topic
|
50
|
+
config :selector, :validate => :string
|
51
|
+
|
52
|
+
# Initial connection timeout in seconds.
|
53
|
+
config :timeout, :validate => :number, :default => 60
|
54
|
+
|
55
|
+
# Polling interval in seconds.
|
56
|
+
# This is the time sleeping between asks to a consumed Queue.
|
57
|
+
# This parameter has non influence in the case of a subcribed Topic.
|
58
|
+
config :interval, :validate => :number, :default => 10
|
59
|
+
|
60
|
+
# If pub-sub (topic) style should be used or not.
|
61
|
+
config :pub_sub, :validate => :boolean, :default => false
|
62
|
+
|
63
|
+
# Name of the destination queue or topic to use.
|
64
|
+
config :destination, :validate => :string, :required => true
|
65
|
+
|
66
|
+
# Yaml config file
|
67
|
+
config :yaml_file, :validate => :string
|
68
|
+
# Yaml config file section name
|
69
|
+
# For some known examples, see: [Example jms.yml](https://github.com/reidmorrison/jruby-jms/blob/master/examples/jms.yml)
|
70
|
+
config :yaml_section, :validate => :string
|
71
|
+
|
72
|
+
# If you do not use an yaml configuration use either the factory or jndi_name.
|
73
|
+
|
74
|
+
# An optional array of Jar file names to load for the specified
|
75
|
+
# JMS provider. By using this option it is not necessary
|
76
|
+
# to put all the JMS Provider specific jar files into the
|
77
|
+
# java CLASSPATH prior to starting Logstash.
|
78
|
+
config :require_jars, :validate => :array
|
79
|
+
|
80
|
+
# Name of JMS Provider Factory class
|
81
|
+
config :factory, :validate => :string
|
82
|
+
# Username to connect to JMS provider with
|
83
|
+
config :username, :validate => :string
|
84
|
+
# Password to use when connecting to the JMS provider
|
85
|
+
config :password, :validate => :string
|
86
|
+
# Url to use when connecting to the JMS provider
|
87
|
+
config :broker_url, :validate => :string
|
88
|
+
|
89
|
+
# Name of JNDI entry at which the Factory can be found
|
90
|
+
config :jndi_name, :validate => :string
|
91
|
+
# Mandatory if jndi lookup is being used,
|
92
|
+
# contains details on how to connect to JNDI server
|
93
|
+
config :jndi_context, :validate => :hash
|
94
|
+
|
95
|
+
# :yaml_file, :factory and :jndi_name are mutually exclusive, both cannot be supplied at the
|
96
|
+
# same time. The priority order is :yaml_file, then :jndi_name, then :factory
|
97
|
+
#
|
98
|
+
# JMS Provider specific properties can be set if the JMS Factory itself
|
99
|
+
# has setters for those properties.
|
100
|
+
#
|
101
|
+
# For some known examples, see: [Example jms.yml](https://github.com/reidmorrison/jruby-jms/blob/master/examples/jms.yml)
|
102
|
+
|
103
|
+
public
|
104
|
+
def register
|
105
|
+
require "jms"
|
106
|
+
@connection = nil
|
107
|
+
|
108
|
+
if @yaml_file
|
109
|
+
@jms_config = YAML.load_file(@yaml_file)[@yaml_section]
|
110
|
+
|
111
|
+
elsif @jndi_name
|
112
|
+
@jms_config = {
|
113
|
+
:require_jars => @require_jars,
|
114
|
+
:jndi_name => @jndi_name,
|
115
|
+
:jndi_context => @jndi_context}
|
116
|
+
|
117
|
+
elsif @factory
|
118
|
+
@jms_config = {
|
119
|
+
:require_jars => @require_jars,
|
120
|
+
:factory => @factory,
|
121
|
+
:username => @username,
|
122
|
+
:password => @password,
|
123
|
+
:broker_url => @broker_url,
|
124
|
+
:url => @broker_url # "broker_url" is named "url" with Oracle AQ
|
125
|
+
}
|
126
|
+
end
|
127
|
+
|
128
|
+
@logger.debug("JMS Config being used", :context => @jms_config)
|
129
|
+
|
130
|
+
end # def register
|
131
|
+
|
132
|
+
|
133
|
+
private
|
134
|
+
def queue_event(msg, output_queue)
|
135
|
+
begin
|
136
|
+
if @include_body
|
137
|
+
if msg.java_kind_of?(JMS::MapMessage)
|
138
|
+
event = LogStash::Event.new
|
139
|
+
msg.data.each do |field, value|
|
140
|
+
event[field.to_s] = value # TODO(claveau): needs codec.decode or converter.convert ?
|
141
|
+
end
|
142
|
+
elsif msg.java_kind_of?(JMS::TextMessage) || msg.java_kind_of?(JMS::BytesMessage)
|
143
|
+
@codec.decode(msg.to_s) do |event_message|
|
144
|
+
event = event_message
|
145
|
+
end
|
146
|
+
else
|
147
|
+
@logger.error( "Unknown data type #{msg.data.class.to_s} in Message" )
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
event ||= LogStash::Event.new
|
152
|
+
|
153
|
+
# Here, we can use the JMS Enqueue timestamp as the @timestamp
|
154
|
+
if @use_jms_timestamp && msg.jms_timestamp
|
155
|
+
event.timestamp = ::Time.at(msg.jms_timestamp/1000)
|
156
|
+
end
|
157
|
+
|
158
|
+
if @include_header
|
159
|
+
msg.attributes.each do |field, value|
|
160
|
+
event[field.to_s] = value
|
161
|
+
end
|
162
|
+
end
|
163
|
+
|
164
|
+
if @include_properties
|
165
|
+
msg.properties.each do |field, value|
|
166
|
+
event[field.to_s] = value
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
decorate(event)
|
171
|
+
output_queue << event
|
172
|
+
|
173
|
+
rescue => e # parse or event creation error
|
174
|
+
@logger.error("Failed to create event", :message => msg, :exception => e,
|
175
|
+
:backtrace => e.backtrace);
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# Consume all available messages on the queue
|
180
|
+
# sleeps some time, then consume again
|
181
|
+
private
|
182
|
+
def run_consumer(output_queue)
|
183
|
+
JMS::Connection.session(@jms_config) do |session|
|
184
|
+
destination_key = @pub_sub ? :topic_name : :queue_name
|
185
|
+
while(true)
|
186
|
+
session.consume(destination_key => @destination, :timeout=>@timeout, :selector => @selector) do |message|
|
187
|
+
queue_event message, output_queue
|
188
|
+
end
|
189
|
+
sleep @interval
|
190
|
+
end
|
191
|
+
end
|
192
|
+
rescue LogStash::ShutdownSignal
|
193
|
+
# Do nothing, let us quit.
|
194
|
+
rescue => e
|
195
|
+
@logger.warn("JMS Consumer died", :exception => e, :backtrace => e.backtrace)
|
196
|
+
sleep(10)
|
197
|
+
retry
|
198
|
+
end # def run
|
199
|
+
|
200
|
+
# Consume all available messages on the queue through a listener
|
201
|
+
private
|
202
|
+
def run_thread(output_queue)
|
203
|
+
connection = JMS::Connection.new(@jms_config)
|
204
|
+
connection.on_exception do |jms_exception|
|
205
|
+
@logger.warn("JMS Exception has occurred: #{jms_exception}")
|
206
|
+
end
|
207
|
+
|
208
|
+
destination_key = @pub_sub ? :topic_name : :queue_name
|
209
|
+
connection.on_message(destination_key => @destination, :selector => @selector) do |message|
|
210
|
+
queue_event message, output_queue
|
211
|
+
end
|
212
|
+
connection.start
|
213
|
+
while(true)
|
214
|
+
@logger.debug("JMS Thread sleeping ...")
|
215
|
+
sleep @interval
|
216
|
+
end
|
217
|
+
rescue LogStash::ShutdownSignal
|
218
|
+
connection.close
|
219
|
+
rescue => e
|
220
|
+
@logger.warn("JMS Consumer died", :exception => e, :backtrace => e.backtrace)
|
221
|
+
sleep(10)
|
222
|
+
retry
|
223
|
+
end # def run
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
# Consume all available messages on the queue through a listener
|
228
|
+
private
|
229
|
+
def run_async(output_queue)
|
230
|
+
JMS::Connection.start(@jms_config) do |connection|
|
231
|
+
# Define exception listener
|
232
|
+
# The problem here is that we do not handle any exception
|
233
|
+
connection.on_exception do |jms_exception|
|
234
|
+
@logger.warn("JMS Exception has occurred: #{jms_exception}")
|
235
|
+
raise jms_exception
|
236
|
+
end
|
237
|
+
# Define Asynchronous code block to be called every time a message is received
|
238
|
+
destination_key = @pub_sub ? :topic_name : :queue_name
|
239
|
+
connection.on_message(destination_key => @destination, :selector => @selector) do |message|
|
240
|
+
queue_event message, output_queue
|
241
|
+
end
|
242
|
+
# Since the on_message handler above is in a separate thread the thread needs
|
243
|
+
# to do some other work. It will just sleep for 10 seconds.
|
244
|
+
while(true)
|
245
|
+
sleep @interval
|
246
|
+
end
|
247
|
+
end
|
248
|
+
rescue LogStash::ShutdownSignal
|
249
|
+
# Do nothing, let us quit.
|
250
|
+
rescue => e
|
251
|
+
@logger.warn("JMS Consumer died", :exception => e, :backtrace => e.backtrace)
|
252
|
+
sleep(10)
|
253
|
+
retry
|
254
|
+
end # def run
|
255
|
+
|
256
|
+
|
257
|
+
public
|
258
|
+
def run(output_queue)
|
259
|
+
case @runner
|
260
|
+
when "consumer" then
|
261
|
+
run_consumer(output_queue)
|
262
|
+
when "async" then
|
263
|
+
run_async(output_queue)
|
264
|
+
when "thread" then
|
265
|
+
run_thread(output_queue)
|
266
|
+
end
|
267
|
+
end # def run
|
268
|
+
|
269
|
+
end # class LogStash::Inputs::Jms
|
@@ -0,0 +1,33 @@
|
|
1
|
+
Gem::Specification.new do |s|
|
2
|
+
|
3
|
+
s.name = 'logstash-input-jms'
|
4
|
+
s.version = '2.0.1'
|
5
|
+
s.licenses = ['Apache License (2.0)']
|
6
|
+
s.summary = "Pull events from a JMS topic or queue."
|
7
|
+
s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
|
8
|
+
s.authors = ["Elasticsearch"]
|
9
|
+
s.email = 'info@elasticsearch.com'
|
10
|
+
s.homepage = "http://www.elasticsearch.org/guide/en/logstash/current/index.html"
|
11
|
+
s.require_paths = ["lib"]
|
12
|
+
|
13
|
+
# Files
|
14
|
+
s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
|
15
|
+
|
16
|
+
# Tests
|
17
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
18
|
+
|
19
|
+
# Special flag to let us know this is actually a logstash plugin
|
20
|
+
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
|
21
|
+
|
22
|
+
# Gem dependencies
|
23
|
+
s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
|
24
|
+
|
25
|
+
s.add_runtime_dependency 'logstash-codec-json'
|
26
|
+
s.add_runtime_dependency 'logstash-codec-plain'
|
27
|
+
|
28
|
+
if RUBY_PLATFORM == 'java'
|
29
|
+
s.platform = RUBY_PLATFORM
|
30
|
+
s.add_runtime_dependency "jruby-jms" #(Apache 2.0 license)
|
31
|
+
end
|
32
|
+
s.add_development_dependency 'logstash-devutils'
|
33
|
+
end
|
data/spec/inputs/jms.yml
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
---
|
2
|
+
# HornetQ Broker
|
3
|
+
hornetq:
|
4
|
+
# Connect to a local HornetQ Broker using JNDI
|
5
|
+
:jndi_name: /ConnectionFactory
|
6
|
+
:jndi_context:
|
7
|
+
java.naming.factory.initial: org.jnp.interfaces.NamingContextFactory
|
8
|
+
java.naming.provider.url: jnp://localhost:1099
|
9
|
+
java.naming.factory.url.pkgs: org.jboss.naming:org.jnp.interfaces
|
10
|
+
java.naming.security.principal: guest
|
11
|
+
java.naming.security.credentials: guest
|
12
|
+
:require_jars:
|
13
|
+
- /Applications/hornetq-2.4.0.Final/lib/hornetq-commons.jar
|
14
|
+
- /Applications/hornetq-2.4.0.Final/lib/hornetq-core-client.jar
|
15
|
+
- /Applications/hornetq-2.4.0.Final/lib/hornetq-jms-client.jar
|
16
|
+
- /Applications/hornetq-2.4.0.Final/lib/jboss-jms-api.jar
|
17
|
+
- /Applications/hornetq-2.4.0.Final/lib/jnp-client.jar
|
18
|
+
- /Applications/hornetq-2.4.0.Final/lib/netty.jar
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require "logstash/devutils/rspec/spec_helper"
|
2
|
+
require "logstash/inputs/jms"
|
3
|
+
require "jms"
|
4
|
+
|
5
|
+
describe LogStash::Inputs::Jms do
|
6
|
+
let(:queue) { Queue.new }
|
7
|
+
let(:jms_config) {{:require_jars => ["some.jar"], :jndi_name => "", :jndi_context => {}}}
|
8
|
+
let(:config) do
|
9
|
+
config = { "destination" => "ExampleQueue" }
|
10
|
+
jms_config.each {|k, v| config[k.to_s] = v }
|
11
|
+
config
|
12
|
+
end
|
13
|
+
subject { LogStash::Inputs::Jms.new(config.dup) }
|
14
|
+
|
15
|
+
context "using default runner (consumer)" do
|
16
|
+
before :each do
|
17
|
+
subject.register
|
18
|
+
end
|
19
|
+
|
20
|
+
it "should call the consumer runner" do
|
21
|
+
expect(subject).to receive(:run_consumer).with(queue)
|
22
|
+
subject.run(queue)
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should create a JMS session based on JMS config" do
|
26
|
+
expect(JMS::Connection).to receive(:session).with(jms_config)
|
27
|
+
subject.run(queue)
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
metadata
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: logstash-input-jms
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.1
|
5
|
+
platform: java
|
6
|
+
authors:
|
7
|
+
- Elasticsearch
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - '>='
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: 2.0.0.snapshot
|
19
|
+
- - <
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 3.0.0
|
22
|
+
name: logstash-core
|
23
|
+
prerelease: false
|
24
|
+
type: :runtime
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.0.0.snapshot
|
30
|
+
- - <
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: 3.0.0
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
35
|
+
requirements:
|
36
|
+
- - '>='
|
37
|
+
- !ruby/object:Gem::Version
|
38
|
+
version: '0'
|
39
|
+
name: logstash-codec-json
|
40
|
+
prerelease: false
|
41
|
+
type: :runtime
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - '>='
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - '>='
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '0'
|
53
|
+
name: logstash-codec-plain
|
54
|
+
prerelease: false
|
55
|
+
type: :runtime
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - '>='
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
requirement: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
name: jruby-jms
|
68
|
+
prerelease: false
|
69
|
+
type: :runtime
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
requirement: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - '>='
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
name: logstash-devutils
|
82
|
+
prerelease: false
|
83
|
+
type: :development
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
description: This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program
|
90
|
+
email: info@elasticsearch.com
|
91
|
+
executables: []
|
92
|
+
extensions: []
|
93
|
+
extra_rdoc_files: []
|
94
|
+
files:
|
95
|
+
- CHANGELOG.md
|
96
|
+
- Gemfile
|
97
|
+
- NOTICE.TXT
|
98
|
+
- README.md
|
99
|
+
- lib/logstash/inputs/jms.rb
|
100
|
+
- logstash-input-jms.gemspec
|
101
|
+
- spec/inputs/jms.yml
|
102
|
+
- spec/inputs/jms_spec.rb
|
103
|
+
homepage: http://www.elasticsearch.org/guide/en/logstash/current/index.html
|
104
|
+
licenses:
|
105
|
+
- Apache License (2.0)
|
106
|
+
metadata:
|
107
|
+
logstash_plugin: 'true'
|
108
|
+
logstash_group: input
|
109
|
+
post_install_message:
|
110
|
+
rdoc_options: []
|
111
|
+
require_paths:
|
112
|
+
- lib
|
113
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
|
+
requirements:
|
120
|
+
- - '>='
|
121
|
+
- !ruby/object:Gem::Version
|
122
|
+
version: '0'
|
123
|
+
requirements: []
|
124
|
+
rubyforge_project:
|
125
|
+
rubygems_version: 2.4.8
|
126
|
+
signing_key:
|
127
|
+
specification_version: 4
|
128
|
+
summary: Pull events from a JMS topic or queue.
|
129
|
+
test_files:
|
130
|
+
- spec/inputs/jms.yml
|
131
|
+
- spec/inputs/jms_spec.rb
|