logstash-input-stomp 3.0.3 → 3.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f475e30ccc297ced4b2d3e8d807a3085b84c24ea
4
- data.tar.gz: 724871f95dc511470c25d43ef2cbbafc6f3a0d63
3
+ metadata.gz: f8df22696d20fde5a998d27bfae71eb10fa19386
4
+ data.tar.gz: 26548cdd5ca5c0fe257802c77c5e30d14f010b9c
5
5
  SHA512:
6
- metadata.gz: b296bf5560283143f6f270480913b2e58ea002f1aa131a1f278c7986879b148ce7a3335c50595950c5c3f3069387f0574419bb8bce7a799741ed24fc50ae45ff
7
- data.tar.gz: ab12a76104043b0f4ea772a209fd6d8efd7675bdbc4e980b9d4e14df609bc49cfb39e7cfe11d62c21695b8fc070892150d5e6168127c420e7c665292ca4f956b
6
+ metadata.gz: 5b09d1a4ecc0080010df6a5e0b6b494b118d23913d432a1aab5e991bddb08c0968ba4a63c40fce66d9e8ff0a92ad36a62a5430c3cf974bef0b0a785980fe854a
7
+ data.tar.gz: 6f5d0438920791745a1fe588376eac9008dc3cd79085710eeabcb2ba3b6bd0594a68ca0514f71bf34f61c4f32cbd263023c8621d562d4d918b4580db91373150
data/Gemfile CHANGED
@@ -1,2 +1,11 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+
3
+ gemspec
4
+
5
+ logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
6
+ use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
7
+
8
+ if Dir.exist?(logstash_path) && use_logstash_source
9
+ gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
10
+ gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
11
+ end
@@ -0,0 +1,119 @@
1
+ :plugin: stomp
2
+ :type: input
3
+
4
+ ///////////////////////////////////////////
5
+ START - GENERATED VARIABLES, DO NOT EDIT!
6
+ ///////////////////////////////////////////
7
+ :version: %VERSION%
8
+ :release_date: %RELEASE_DATE%
9
+ :changelog_url: %CHANGELOG_URL%
10
+ :include_path: ../../../../logstash/docs/include
11
+ ///////////////////////////////////////////
12
+ END - GENERATED VARIABLES, DO NOT EDIT!
13
+ ///////////////////////////////////////////
14
+
15
+ [id="plugins-{type}-{plugin}"]
16
+
17
+ === Stomp input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Creates events received with the STOMP protocol.
24
+
25
+ [id="plugins-{type}s-{plugin}-options"]
26
+ ==== Stomp Input Configuration Options
27
+
28
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
29
+
30
+ [cols="<,<,<",options="header",]
31
+ |=======================================================================
32
+ |Setting |Input type|Required
33
+ | <<plugins-{type}s-{plugin}-destination>> |<<string,string>>|Yes
34
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|Yes
35
+ | <<plugins-{type}s-{plugin}-password>> |<<password,password>>|No
36
+ | <<plugins-{type}s-{plugin}-port>> |<<number,number>>|No
37
+ | <<plugins-{type}s-{plugin}-reconnect>> |<<boolean,boolean>>|No
38
+ | <<plugins-{type}s-{plugin}-reconnect_interval>> |<<number,number>>|No
39
+ | <<plugins-{type}s-{plugin}-user>> |<<string,string>>|No
40
+ | <<plugins-{type}s-{plugin}-vhost>> |<<string,string>>|No
41
+ |=======================================================================
42
+
43
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
44
+ input plugins.
45
+
46
+ &nbsp;
47
+
48
+ [id="plugins-{type}s-{plugin}-destination"]
49
+ ===== `destination`
50
+
51
+ * This is a required setting.
52
+ * Value type is <<string,string>>
53
+ * There is no default value for this setting.
54
+
55
+ The destination to read events from.
56
+
57
+ Example: `/topic/logstash`
58
+
59
+ [id="plugins-{type}s-{plugin}-host"]
60
+ ===== `host`
61
+
62
+ * This is a required setting.
63
+ * Value type is <<string,string>>
64
+ * Default value is `"localhost"`
65
+
66
+ The address of the STOMP server.
67
+
68
+ [id="plugins-{type}s-{plugin}-password"]
69
+ ===== `password`
70
+
71
+ * Value type is <<password,password>>
72
+ * Default value is `""`
73
+
74
+ The password to authenticate with.
75
+
76
+ [id="plugins-{type}s-{plugin}-port"]
77
+ ===== `port`
78
+
79
+ * Value type is <<number,number>>
80
+ * Default value is `61613`
81
+
82
+ The port to connet to on your STOMP server.
83
+
84
+ [id="plugins-{type}s-{plugin}-reconnect"]
85
+ ===== `reconnect`
86
+
87
+ * Value type is <<boolean,boolean>>
88
+ * Default value is `true`
89
+
90
+ Auto reconnect
91
+
92
+ [id="plugins-{type}s-{plugin}-reconnect_interval"]
93
+ ===== `reconnect_interval`
94
+
95
+ * Value type is <<number,number>>
96
+ * Default value is `30`
97
+
98
+
99
+
100
+ [id="plugins-{type}s-{plugin}-user"]
101
+ ===== `user`
102
+
103
+ * Value type is <<string,string>>
104
+ * Default value is `""`
105
+
106
+ The username to authenticate with.
107
+
108
+ [id="plugins-{type}s-{plugin}-vhost"]
109
+ ===== `vhost`
110
+
111
+ * Value type is <<string,string>>
112
+ * Default value is `nil`
113
+
114
+ The vhost to use
115
+
116
+
117
+
118
+ [id="plugins-{type}s-{plugin}-common-options"]
119
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-stomp'
4
- s.version = '3.0.3'
4
+ s.version = '3.0.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Pull events from a stomp server"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
14
+ s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-stomp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-15 00:00:00.000000000 Z
11
+ date: 2017-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -84,6 +84,7 @@ files:
84
84
  - LICENSE
85
85
  - NOTICE.TXT
86
86
  - README.md
87
+ - docs/index.asciidoc
87
88
  - lib/logstash/inputs/stomp.rb
88
89
  - logstash-input-stomp.gemspec
89
90
  - spec/inputs/stomp_spec.rb