logstash-input-beats 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f713de099f4bc9e2728570c73ebeb235f13c679
4
- data.tar.gz: 13548c42c4c694870e756e1e7adeae51b0e19911
3
+ metadata.gz: 27cb39be1dad17a9fed8e3b458945cf7d6e6d868
4
+ data.tar.gz: d2d9f34a2a0d051c469537ee8b809ae9050b0db6
5
5
  SHA512:
6
- metadata.gz: b9631e277a58b77f141c91c0990f96d138c87164455969077c95f66d3e580b98a7d8b9f86e3da62ed785036c24795b5785c99376b56cdcc96ad766a432a4886d
7
- data.tar.gz: fa3cb331d6c75713846e9b71cd3922e8ff418135b1cb19a2546033c1d88a9f51d70a67fbbf76cb89aa2600fce92385df056dd126e931de7acd3446d8f1f2853f
6
+ metadata.gz: a6e9c53f0abde2555c8a22f639648975d8ecf9a29ad6c2f5d33c7b3cf46be58700eb7e20885f31383cca13759711dd17c6bb1994dc88d61bb8daf2c77bb9354f
7
+ data.tar.gz: 16bc91118ce07d42b1a6095fbede83fa73ca97fe5e342afac9786624f2b54aaebf3d21be691c7694611fe09ca32da46771b9d57cba840aa344fcf3107016aba0
@@ -1,3 +1,6 @@
1
+ ## 3.0.4
2
+ - Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
3
+
1
4
  ## 3.0.3
2
5
  - Fix an issue when parsing multiple frames received from a filebeat client using pipelining.
3
6
  ## 3.0.2
@@ -16,14 +16,11 @@ require "logstash/inputs/beats_support/synchronous_queue_with_offer"
16
16
  require "logstash/util"
17
17
  require "thread_safe"
18
18
 
19
- # use Logstash provided json decoder
20
19
  Lumberjack::Beats::json = LogStash::Json
21
20
 
22
- # Allow Logstash to receive events from Beats
21
+ # This input plugin enables Logstash to receive events from the
22
+ # https://www.elastic.co/products/beats[Elastic Beats] framework.
23
23
  #
24
- # https://github.com/elastic/filebeat[filebeat]
25
- #
26
-
27
24
  class LogStash::Codecs::Base
28
25
  # This monkey patch add callback based
29
26
  # flow to the codec until its shipped with core.
@@ -55,8 +52,8 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
55
52
  # The port to listen on.
56
53
  config :port, :validate => :number, :required => true
57
54
 
58
- # Events are by default send in plain text, you can
59
- # enable encryption by using `ssl` to true and configuring
55
+ # Events are by default sent in plain text. You can
56
+ # enable encryption by setting `ssl` to true and configuring
60
57
  # the `ssl_certificate` and `ssl_key` options.
61
58
  config :ssl, :validate => :boolean, :default => false
62
59
 
@@ -69,32 +66,32 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
69
66
  # SSL key passphrase to use.
70
67
  config :ssl_key_passphrase, :validate => :password
71
68
 
72
- # Validate client certificates against theses authorities
73
- # You can defined multiples files or path, all the certificates will
69
+ # Validate client certificates against these authorities.
70
+ # You can define multiple files or paths. All the certificates will
74
71
  # be read and added to the trust store. You need to configure the `ssl_verify_mode`
75
72
  # to `peer` or `force_peer` to enable the verification.
76
73
  #
77
- # This feature only support certificate directly signed by your root ca.
78
- # Intermediate CA are currently not supported.
74
+ # This feature only supports certificates that are directly signed by your root CA.
75
+ # Intermediate CAs are currently not supported.
79
76
  #
80
77
  config :ssl_certificate_authorities, :validate => :array, :default => []
81
78
 
82
- # By default the server dont do any client verification,
79
+ # By default the server doesn't do any client verification.
83
80
  #
84
- # `peer` will make the server ask the client to provide a certificate,
85
- # if the client provide the certificate it will be validated.
81
+ # `peer` will make the server ask the client to provide a certificate.
82
+ # If the client provides a certificate, it will be validated.
86
83
  #
87
- # `force_peer` will make the server ask the client for their certificate, if the clients
88
- # doesn't provide it the connection will be closed.
84
+ # `force_peer` will make the server ask the client to provide a certificate.
85
+ # If the client doesn't provide a certificate, the connection will be closed.
89
86
  #
90
- # This option need to be used with `ssl_certificate_authorities` and a defined list of CA.
87
+ # This option needs to be used with `ssl_certificate_authorities` and a defined list of CAs.
91
88
  config :ssl_verify_mode, :validate => ["none", "peer", "force_peer"], :default => "none"
92
89
 
93
- # The number of seconds before we raise a timeout,
94
- # this option is useful to control how much time to wait if something is blocking the pipeline.
90
+ # The number of seconds before we raise a timeout.
91
+ # This option is useful to control how much time to wait if something is blocking the pipeline.
95
92
  config :congestion_threshold, :validate => :number, :default => 5
96
93
 
97
- # This is the default field that the specified codec will be applied
94
+ # This is the default field to which the specified codec will be applied.
98
95
  config :target_field_for_codec, :validate => :string, :default => "message", :deprecated => "This option is now deprecated, the plugin is now compatible with Filebeat and Logstash-Forwarder"
99
96
 
100
97
  # TODO(sissel): Add CA to authenticate clients with.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "logstash-input-beats"
3
- s.version = '3.0.3'
3
+ s.version = '3.0.4'
4
4
  s.licenses = ["Apache License (2.0)"]
5
5
  s.summary = "Receive events using the lumberjack protocol."
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"
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
20
20
 
21
21
  # Gem dependencies
22
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
22
+ s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
23
23
 
24
24
  s.add_runtime_dependency "logstash-codec-plain"
25
25
  s.add_runtime_dependency "concurrent-ruby", [ ">= 0.9.2", "<= 1.0.0" ]
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-beats
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: 2016-05-27 00:00:00.000000000 Z
11
+ date: 2016-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
+ - !ruby/object:Gem::Version
18
+ version: '1.60'
19
+ - - "<="
17
20
  - !ruby/object:Gem::Version
18
- version: '2.0'
21
+ version: '2.99'
19
22
  name: logstash-core-plugin-api
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '1.60'
30
+ - - "<="
25
31
  - !ruby/object:Gem::Version
26
- version: '2.0'
32
+ version: '2.99'
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements:
@@ -267,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
267
273
  version: '0'
268
274
  requirements: []
269
275
  rubyforge_project:
270
- rubygems_version: 2.4.8
276
+ rubygems_version: 2.6.3
271
277
  signing_key:
272
278
  specification_version: 4
273
279
  summary: Receive events using the lumberjack protocol.