logstash-input-beats 3.1.0.beta1-java → 3.1.0.beta3-java

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: 6dc83f50cea6b2105ecf0082caebe2040de2ab68
4
- data.tar.gz: 19e6d17b3b0dd20c7664a44577d77b1bd032d2d4
3
+ metadata.gz: cb25fdbb64427c6b19c563516139308b9b9d21e2
4
+ data.tar.gz: 9e4333e0d79ffcaabeaedf7978f69147706e66e1
5
5
  SHA512:
6
- metadata.gz: bb9d9fb478c2a53368bf2b0cdcdc58b0955017d3a54ab42f5cb27e7afd516adba6e83f48f4d822e654d80ca75013f199e27ed5f8b51989b4728a980bbda910a6
7
- data.tar.gz: 1723f186d35d767779c1ef14273e9822de1b49841896ca56bf47f105ab19cafc34d7d958d0e65c47b19c1c8d07d331415d172f41309cb2074e5b7ff86e30b8e6
6
+ metadata.gz: 55178dba928dc04f56fd595a5daaa2f1dfafd17cb74de2a3478e704abbe475bca6833937aab6178222ec70c6d7cb24a3e84f15ee00b0015295d9c85efca6efd3
7
+ data.tar.gz: fc1b41dc3337bc58ea9a4a5f31b050df518ae81937c94bbf79f902054294a26d16082512f7a6e29d46ccec475eb10e5b70ef3642e0a8982909b7e4f74c945e39
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
- ## 3.1.0
1
+ ## 3.1.0.beta3
2
+ - Jars were missing from the latest release on rubygems
3
+
4
+ ## 3.1.0.beta2
5
+ - Better handling of connection timeout, added a new option to set the value for it, the default is 15 seconds #108
6
+ - Make sure that incomplete SSL handshake doesn't take down the server #101
7
+ - Sending Garbage data will now raise a specific exception `InvalidFrameProtocolException` #100
8
+ - Adding assertions on the payload size and the fields count to make the parser more resilient to erronous frames #99
9
+
10
+ ## 3.1.0.beta1
2
11
  - Rewrite of the beats input in Java using the Netty framewwork, this rewrite is meant to be backward compatible with the previous implementation
12
+
13
+ ## 3.0.4
14
+ - Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
3
15
  but should yield better throughput and memory usage. https://github.com/logstash-plugins/logstash-input-beats/pull/93
4
16
 
5
17
  ## 3.0.3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.0.beta1
1
+ 3.1.0.beta3
@@ -5,7 +5,7 @@ require_jar('org.apache.logging.log4j', 'log4j-1.2-api', '2.6.1')
5
5
  require_jar('org.apache.logging.log4j', 'log4j-slf4j-impl', '2.6.1')
6
6
  require_jar('org.bouncycastle', 'bcprov-jdk15on', '1.54')
7
7
  require_jar('org.bouncycastle', 'bcpkix-jdk15on', '1.54')
8
- require_jar('io.netty', 'netty-all', '4.1.1.Final')
8
+ require_jar('io.netty', 'netty-all', '4.1.3.Final')
9
9
  require_jar('io.netty', 'netty-tcnative-boringssl-static', '1.1.33.Fork17')
10
10
  require_jar('org.apache.logging.log4j', 'log4j-api', '2.6.1')
11
11
  require_jar('org.apache.logging.log4j', 'log4j-core', '2.6.1')
@@ -14,4 +14,4 @@ require_jar('com.fasterxml.jackson.core', 'jackson-core', '2.7.5')
14
14
  require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.7.5')
15
15
  require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.7.5')
16
16
  require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.7.5')
17
- require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.0.beta1')
17
+ require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.0.beta3')
@@ -86,6 +86,9 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
86
86
  # This option needs to be used with `ssl_certificate_authorities` and a defined list of CAs.
87
87
  config :ssl_verify_mode, :validate => ["none", "peer", "force_peer"], :default => "none"
88
88
 
89
+ # Time in milliseconds for an incomplete ssl handshake to timeout
90
+ config :ssl_handshake_timeout, :validate => :number, :default => 10000
91
+
89
92
  # The number of seconds before we raise a timeout.
90
93
  # This option is useful to control how much time to wait if something is blocking the pipeline.
91
94
  config :congestion_threshold, :validate => :number, :default => 5
@@ -104,6 +107,9 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
104
107
  # The list of ciphers suite to use, listed by priorities.
105
108
  config :cipher_suites, :validate => :array, :default => org.logstash.netty.SslSimpleBuilder::DEFAULT_CIPHERS
106
109
 
110
+ # Close Idle clients after X seconds of inactivity.
111
+ config :client_inactivity_timeout, :validate => :number, :default => 15
112
+
107
113
  def register
108
114
  if !@ssl
109
115
  @logger.warn("Beats input: SSL Certificate will not be used") unless @ssl_certificate.nil?
@@ -134,11 +140,12 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
134
140
  .setProtocols(convert_protocols)
135
141
  .setCipherSuites(normalized_ciphers)
136
142
 
143
+ ssl_builder.setHandshakeTimeoutMilliseconds(@ssl_handshake_timeout)
144
+
137
145
  if client_authentification?
138
146
  if @ssl_verify_mode.upcase == "FORCE_PEER"
139
147
  ssl_builder.setVerifyMode(org.logstash.netty.SslSimpleBuilder::SslClientVerifyMode::FORCE_PEER)
140
148
  end
141
-
142
149
  ssl_builder.setCertificateAuthorities(@ssl_certificate_authorities)
143
150
  end
144
151
 
data/lib/tasks/test.rake CHANGED
@@ -3,9 +3,9 @@ OS_PLATFORM = RbConfig::CONFIG["host_os"]
3
3
  VENDOR_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "vendor"))
4
4
 
5
5
  if OS_PLATFORM == "linux"
6
- FILEBEAT_URL = "https://beats-nightlies.s3.amazonaws.com/filebeat/filebeat-5.0.0-alpha4-SNAPSHOT-linux-x86_64.tar.gz"
6
+ FILEBEAT_URL = "https://beats-nightlies.s3.amazonaws.com/filebeat/filebeat-5.0.0-alpha5-SNAPSHOT-linux-x86_64.tar.gz"
7
7
  elsif OS_PLATFORM == "darwin"
8
- FILEBEAT_URL = "https://beats-nightlies.s3.amazonaws.com/filebeat/filebeat-5.0.0-alpha4-SNAPSHOT-darwin-x86_64.tar.gz"
8
+ FILEBEAT_URL = "https://beats-nightlies.s3.amazonaws.com/filebeat/filebeat-5.0.0-alpha5-SNAPSHOT-darwin-x86_64.tar.gz"
9
9
  end
10
10
 
11
11
  LSF_URL = "https://download.elastic.co/logstash-forwarder/binaries/logstash-forwarder_#{OS_PLATFORM}_amd64"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core-plugin-api", "~> 2.0"
23
+ s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
24
24
 
25
25
  s.add_runtime_dependency "logstash-codec-plain"
26
26
  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.1.0.beta1
4
+ version: 3.1.0.beta3
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-13 00:00:00.000000000 Z
11
+ date: 2016-07-27 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:
@@ -257,7 +263,7 @@ files:
257
263
  - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.7.5/jackson-core-2.7.5.jar
258
264
  - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-databind/2.7.5/jackson-databind-2.7.5.jar
259
265
  - vendor/jar-dependencies/com/fasterxml/jackson/module/jackson-module-afterburner/2.7.5/jackson-module-afterburner-2.7.5.jar
260
- - vendor/jar-dependencies/io/netty/netty-all/4.1.1.Final/netty-all-4.1.1.Final.jar
266
+ - vendor/jar-dependencies/io/netty/netty-all/4.1.3.Final/netty-all-4.1.3.Final.jar
261
267
  - vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/1.1.33.Fork17/netty-tcnative-boringssl-static-1.1.33.Fork17.jar
262
268
  - vendor/jar-dependencies/org/apache/logging/log4j/log4j-1.2-api/2.6.1/log4j-1.2-api-2.6.1.jar
263
269
  - vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.6.1/log4j-api-2.6.1.jar
@@ -266,7 +272,7 @@ files:
266
272
  - vendor/jar-dependencies/org/bouncycastle/bcpkix-jdk15on/1.54/bcpkix-jdk15on-1.54.jar
267
273
  - vendor/jar-dependencies/org/bouncycastle/bcprov-jdk15on/1.54/bcprov-jdk15on-1.54.jar
268
274
  - vendor/jar-dependencies/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
269
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.0.beta1/logstash-input-beats-3.1.0.beta1.jar
275
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.0.beta3/logstash-input-beats-3.1.0.beta3.jar
270
276
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
271
277
  licenses:
272
278
  - Apache License (2.0)