logstash-output-stomp 3.0.4 → 3.0.5

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: 4d83ef0ad53ff6ab07a032829fa94e8d9dc5389b
4
- data.tar.gz: 25c9f05b37a4405a08c43cc353e20e7ec6a4417f
3
+ metadata.gz: 5838c811953d0fd421a79f47d674c00905eefef2
4
+ data.tar.gz: 9338d45936875623fbaafdd5f835b238d6ecff3d
5
5
  SHA512:
6
- metadata.gz: 3d45cafab0abc306b2bd38799039f1e2b420638bd425783d166feb01ab1279b48248b3e372d77e2de09b1ce1b6cf6477f4aa96cf6da2a103366f6ce3e69c05f8
7
- data.tar.gz: e110c2090101777cdeaf1511a8a4fe2d1edc69a9dcdab868d718ae30fbe4242cfdd674e0b1f4471c58d8eaf04fdea6339885bf65d86b0ceb3d0fcd49906baa6e
6
+ metadata.gz: e9505b27412e29cf448d2080eab15bab9e2aa4aa34d18cff28bd3e15784c6435a7420bc8fbd529ae4add77aac1eb5dc37962f1373801e91e1f0e7bcd3972e680
7
+ data.tar.gz: 25df157f25c2eb7ff3919c0bb78f7d2a15cf68738523e2c3f2207090ca350749c03a82512b1e7f6f509178acc14e0c1dc2ea7462a83b89e0357109485655ce02
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,123 @@
1
+ :plugin: stomp
2
+ :type: output
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 output plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+
24
+
25
+ [id="plugins-{type}s-{plugin}-options"]
26
+ ==== Stomp Output 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}-debug>> |<<boolean,boolean>>|No
34
+ | <<plugins-{type}s-{plugin}-destination>> |<<string,string>>|Yes
35
+ | <<plugins-{type}s-{plugin}-headers>> |<<hash,hash>>|No
36
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|Yes
37
+ | <<plugins-{type}s-{plugin}-password>> |<<password,password>>|No
38
+ | <<plugins-{type}s-{plugin}-port>> |<<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
+ output plugins.
45
+
46
+ &nbsp;
47
+
48
+ [id="plugins-{type}s-{plugin}-debug"]
49
+ ===== `debug`
50
+
51
+ * Value type is <<boolean,boolean>>
52
+ * Default value is `false`
53
+
54
+ Enable debugging output?
55
+
56
+ [id="plugins-{type}s-{plugin}-destination"]
57
+ ===== `destination`
58
+
59
+ * This is a required setting.
60
+ * Value type is <<string,string>>
61
+ * There is no default value for this setting.
62
+
63
+ The destination to read events from. Supports string expansion, meaning
64
+ `%{foo}` values will expand to the field value.
65
+
66
+ Example: "/topic/logstash"
67
+
68
+ [id="plugins-{type}s-{plugin}-headers"]
69
+ ===== `headers`
70
+
71
+ * Value type is <<hash,hash>>
72
+ * There is no default value for this setting.
73
+
74
+ Custom headers to send with each message. Supports string expansion, meaning
75
+ %{foo} values will expand to the field value.
76
+
77
+ Example: headers => ["amq-msg-type", "text", "host", "%{host}"]
78
+
79
+ [id="plugins-{type}s-{plugin}-host"]
80
+ ===== `host`
81
+
82
+ * This is a required setting.
83
+ * Value type is <<string,string>>
84
+ * There is no default value for this setting.
85
+
86
+ The address of the STOMP server.
87
+
88
+ [id="plugins-{type}s-{plugin}-password"]
89
+ ===== `password`
90
+
91
+ * Value type is <<password,password>>
92
+ * Default value is `""`
93
+
94
+ The password to authenticate with.
95
+
96
+ [id="plugins-{type}s-{plugin}-port"]
97
+ ===== `port`
98
+
99
+ * Value type is <<number,number>>
100
+ * Default value is `61613`
101
+
102
+ The port to connect to on your STOMP server.
103
+
104
+ [id="plugins-{type}s-{plugin}-user"]
105
+ ===== `user`
106
+
107
+ * Value type is <<string,string>>
108
+ * Default value is `""`
109
+
110
+ The username to authenticate with.
111
+
112
+ [id="plugins-{type}s-{plugin}-vhost"]
113
+ ===== `vhost`
114
+
115
+ * Value type is <<string,string>>
116
+ * Default value is `nil`
117
+
118
+ The vhost to use
119
+
120
+
121
+
122
+ [id="plugins-{type}s-{plugin}-common-options"]
123
+ include::{include_path}/{type}.asciidoc[]
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-stomp'
3
- s.version = '3.0.4'
3
+ s.version = '3.0.5'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Send events to a stomp server"
6
6
  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"
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.require_paths = ["lib"]
11
11
 
12
12
  # Files
13
- s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
13
+ s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
14
14
 
15
15
  # Tests
16
16
  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-output-stomp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.4
4
+ version: 3.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-03 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
@@ -70,6 +70,7 @@ files:
70
70
  - LICENSE
71
71
  - NOTICE.TXT
72
72
  - README.md
73
+ - docs/index.asciidoc
73
74
  - lib/logstash/outputs/stomp.rb
74
75
  - logstash-output-stomp.gemspec
75
76
  - spec/outputs/stomp_spec.rb