logstash-input-lumberjack 3.1.1 → 3.1.2

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: 6804ea8d6a5c20d7afbce41be6cb812d426bbc1f
4
- data.tar.gz: 46d070083942909d702ebc6c9a1e9d7623053a10
3
+ metadata.gz: 380a3955598f6f49f7b859e2da4fc9b4ca5577a1
4
+ data.tar.gz: 27ab5cd7db962c8b2d9068217f929e80e7e60453
5
5
  SHA512:
6
- metadata.gz: d82f405fbd6f15ca070659726100d8d0ad5d3bdb808e6aaffcfffe14ae65add9b618659ac2f411beeb87c740496207621f4800580befffd3c731a6143f5173ea
7
- data.tar.gz: 2952f69e5135771f6d6481031fbdaa232f00a39c236541a6d9c7848d4e5bffc68341a90e98d43d9a7b8f66ea8dfbccf6c6852b808f5f6f24d367680ce63bcfa4
6
+ metadata.gz: 64edf14b3adc8fc6baf40ff90762da693dc3fc9b110617173a6f596d61c6e52cf77d1229d0a309ae47a773cf003d59ebc0827c8a37dc3b71097c7e4c2c75afd7
7
+ data.tar.gz: 8056668aab325ca7154d82d75428f35c58bfcb7564148baf2bf400417da5957eab05ad9a41246106be23e4afcc9cb4f8f34707f7c39fa108b7662aafec1216c0
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in logstash-mass_effect.gemspec
4
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,112 @@
1
+ :plugin: lumberjack
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
+ === Lumberjack input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Receive events using the Lumberjack protocol.
24
+
25
+ This input can be used to reliably and securely transport
26
+ events between Logstash instances. To do so, use the
27
+ <<plugins-outputs-lumberjack,lumberjack output plugin>>
28
+ in the sending Logstash instance(s).
29
+
30
+ It can also be used to receive events from the deprecated
31
+ https://github.com/elastic/logstash-forwarder[logstash-forwarder]
32
+ tool that has been replaced by
33
+ https://github.com/elastic/beats/tree/master/filebeat[Filebeat].
34
+
35
+
36
+ [id="plugins-{type}s-{plugin}-options"]
37
+ ==== Lumberjack Input Configuration Options
38
+
39
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
40
+
41
+ [cols="<,<,<",options="header",]
42
+ |=======================================================================
43
+ |Setting |Input type|Required
44
+ | <<plugins-{type}s-{plugin}-congestion_threshold>> |<<number,number>>|No
45
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|No
46
+ | <<plugins-{type}s-{plugin}-port>> |<<number,number>>|Yes
47
+ | <<plugins-{type}s-{plugin}-ssl_certificate>> |a valid filesystem path|Yes
48
+ | <<plugins-{type}s-{plugin}-ssl_key>> |a valid filesystem path|Yes
49
+ | <<plugins-{type}s-{plugin}-ssl_key_passphrase>> |<<password,password>>|No
50
+ |=======================================================================
51
+
52
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
53
+ input plugins.
54
+
55
+ &nbsp;
56
+
57
+ [id="plugins-{type}s-{plugin}-congestion_threshold"]
58
+ ===== `congestion_threshold`
59
+
60
+ * Value type is <<number,number>>
61
+ * Default value is `5`
62
+
63
+ The number of seconds before we raise a timeout,
64
+ this option is useful to control how much time to wait if something is blocking the pipeline.
65
+
66
+ [id="plugins-{type}s-{plugin}-host"]
67
+ ===== `host`
68
+
69
+ * Value type is <<string,string>>
70
+ * Default value is `"0.0.0.0"`
71
+
72
+ The IP address to listen on.
73
+
74
+ [id="plugins-{type}s-{plugin}-port"]
75
+ ===== `port`
76
+
77
+ * This is a required setting.
78
+ * Value type is <<number,number>>
79
+ * There is no default value for this setting.
80
+
81
+ The port to listen on.
82
+
83
+ [id="plugins-{type}s-{plugin}-ssl_certificate"]
84
+ ===== `ssl_certificate`
85
+
86
+ * This is a required setting.
87
+ * Value type is <<path,path>>
88
+ * There is no default value for this setting.
89
+
90
+ SSL certificate to use.
91
+
92
+ [id="plugins-{type}s-{plugin}-ssl_key"]
93
+ ===== `ssl_key`
94
+
95
+ * This is a required setting.
96
+ * Value type is <<path,path>>
97
+ * There is no default value for this setting.
98
+
99
+ SSL key to use.
100
+
101
+ [id="plugins-{type}s-{plugin}-ssl_key_passphrase"]
102
+ ===== `ssl_key_passphrase`
103
+
104
+ * Value type is <<password,password>>
105
+ * There is no default value for this setting.
106
+
107
+ SSL key passphrase to use.
108
+
109
+
110
+
111
+ [id="plugins-{type}s-{plugin}-common-options"]
112
+ include::{include_path}/{type}.asciidoc[]
@@ -3,11 +3,17 @@ require "logstash/inputs/base"
3
3
  require "logstash/namespace"
4
4
  require "logstash/codecs/identity_map_codec"
5
5
 
6
- # Receive events using the lumberjack protocol.
6
+ # Receive events using the Lumberjack protocol.
7
7
  #
8
- # This is mainly to receive events shipped with lumberjack[http://github.com/jordansissel/lumberjack],
9
- # now represented primarily via the
10
- # https://github.com/elasticsearch/logstash-forwarder[Logstash-forwarder].
8
+ # This input can be used to reliably and securely transport
9
+ # events between Logstash instances. To do so, use the
10
+ # <<plugins-outputs-lumberjack,lumberjack output plugin>>
11
+ # in the sending Logstash instance(s).
12
+ #
13
+ # It can also be used to receive events from the deprecated
14
+ # https://github.com/elastic/logstash-forwarder[logstash-forwarder]
15
+ # tool that has been replaced by
16
+ # https://github.com/elastic/beats/tree/master/filebeat[Filebeat].
11
17
  #
12
18
  class LogStash::Inputs::Lumberjack < LogStash::Inputs::Base
13
19
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-lumberjack'
4
- s.version = '3.1.1'
4
+ s.version = '3.1.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Receive events using the lumberjack protocol."
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-lumberjack
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 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
@@ -140,6 +140,7 @@ files:
140
140
  - LICENSE
141
141
  - NOTICE.TXT
142
142
  - README.md
143
+ - docs/index.asciidoc
143
144
  - lib/logstash/circuit_breaker.rb
144
145
  - lib/logstash/inputs/lumberjack.rb
145
146
  - lib/logstash/sized_queue_timeout.rb
@@ -171,7 +172,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
171
172
  version: '0'
172
173
  requirements: []
173
174
  rubyforge_project:
174
- rubygems_version: 2.6.3
175
+ rubygems_version: 2.4.8
175
176
  signing_key:
176
177
  specification_version: 4
177
178
  summary: Receive events using the lumberjack protocol.