logstash-input-beats 3.1.24-java → 3.1.25-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
- SHA1:
3
- metadata.gz: 692a122e373c144a7bb94bc2a402dd63fbc87d26
4
- data.tar.gz: 2408462f999bc58aab4091c26a5302f5b20ec83c
2
+ SHA256:
3
+ metadata.gz: 3b8b2214dfcbde932c958fd61a90b4197984278744a23193481d4334f8242b61
4
+ data.tar.gz: 609a018a25dd113e795f7899f94b0929e402063291dd7b9a567e51cf4064abb2
5
5
  SHA512:
6
- metadata.gz: 22ca5f6096bf553a70759ef7b6e9159d0117da8a66fac5b6eddb35ca4562c0317d829db3804497e722416c03bad47226fd1def3c035d52bbf9a297e49fe74a3a
7
- data.tar.gz: 2dc230c6f9d68ab0e250bf3d8df3dcaf5acbd8a103a4f05c6951fdf2291f28831e24ef34e5b0c8c6051e84ac8a54278654afa35ddacd029762be1f345a03bbc4
6
+ metadata.gz: a3c45cb85105505ef62dbed8fdb32751ec3dc0535ae131fb3cec1bac4c806322018269e0950bb83ed5fac794e8763ad480f120020b4130208ebd3ce1f1da9709
7
+ data.tar.gz: 4148db3c9bfa53050729eae2665b01d3035487a395d8e12ca80b3fb0c19265b6e07d70d289550330f92803d38858d714c3db9cb9387b66226aa1b0f424dafecd
@@ -1,3 +1,6 @@
1
+ ## 3.1.25
2
+ - Fix an issue with close_wait connection and making sure the keep alive are send back to the client all the time. #272
3
+
1
4
  ## 3.1.24
2
5
  - Documentation changes
3
6
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.24
1
+ 3.1.25
@@ -9,4 +9,4 @@ require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.7.5')
9
9
  require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.7.5')
10
10
  require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.7.5')
11
11
  require_jar('org.apache.logging.log4j', 'log4j-api', '2.6.2')
12
- require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.24')
12
+ require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.25')
@@ -121,6 +121,9 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
121
121
  # Close Idle clients after X seconds of inactivity.
122
122
  config :client_inactivity_timeout, :validate => :number, :default => 60
123
123
 
124
+ # Beats handler executor thread
125
+ config :executor_threads, :validate => :number, :default => LogStash::Config::CpuCoreStrategy.maximum * 4
126
+
124
127
  def register
125
128
  # For Logstash 2.4 we need to make sure that the logger is correctly set for the
126
129
  # java classes before actually loading them.
@@ -166,7 +169,7 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
166
169
  end # def register
167
170
 
168
171
  def create_server
169
- server = org.logstash.beats.Server.new(@host, @port, @client_inactivity_timeout)
172
+ server = org.logstash.beats.Server.new(@host, @port, @client_inactivity_timeout, @executor_threads)
170
173
  if @ssl
171
174
 
172
175
  begin
@@ -16,15 +16,16 @@ describe LogStash::Inputs::Beats do
16
16
 
17
17
  context "#register" do
18
18
  context "host related configuration" do
19
- let(:config) { super.merge!({ "host" => host, "port" => port, "client_inactivity_timeout" => client_inactivity_timeout }) }
19
+ let(:config) { super.merge!({ "host" => host, "port" => port, "client_inactivity_timeout" => client_inactivity_timeout, "executor_threads" => threads }) }
20
20
  let(:host) { "192.168.1.20" }
21
21
  let(:port) { 9000 }
22
22
  let(:client_inactivity_timeout) { 400 }
23
+ let(:threads) { 10 }
23
24
 
24
25
  subject(:plugin) { LogStash::Inputs::Beats.new(config) }
25
26
 
26
27
  it "sends the required options to the server" do
27
- expect(org.logstash.beats.Server).to receive(:new).with(host, port, client_inactivity_timeout)
28
+ expect(org.logstash.beats.Server).to receive(:new).with(host, port, client_inactivity_timeout, threads)
28
29
  subject.register
29
30
  end
30
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-beats
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.24
4
+ version: 3.1.25
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-08-18 00:00:00.000000000 Z
11
+ date: 2017-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -212,7 +212,9 @@ dependencies:
212
212
  - - ">="
213
213
  - !ruby/object:Gem::Version
214
214
  version: '0'
215
- 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
215
+ description: This gem is a Logstash plugin required to be installed on top of the
216
+ Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This
217
+ gem is not a stand-alone program
216
218
  email: info@elastic.co
217
219
  executables: []
218
220
  extensions: []
@@ -264,7 +266,7 @@ files:
264
266
  - vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/1.1.33.Fork23/netty-tcnative-boringssl-static-1.1.33.Fork23.jar
265
267
  - vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.6.2/log4j-api-2.6.2.jar
266
268
  - vendor/jar-dependencies/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
267
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.24/logstash-input-beats-3.1.24.jar
269
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.25/logstash-input-beats-3.1.25.jar
268
270
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
269
271
  licenses:
270
272
  - Apache License (2.0)
@@ -288,7 +290,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
288
290
  version: '0'
289
291
  requirements: []
290
292
  rubyforge_project:
291
- rubygems_version: 2.4.8
293
+ rubygems_version: 2.6.13
292
294
  signing_key:
293
295
  specification_version: 4
294
296
  summary: Receive events using the lumberjack protocol.