logstash-input-beats 3.1.5-java → 3.1.6-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: e0e93c97b5dfb652577d7c9d54cf610fa79c3181
4
- data.tar.gz: cb73d6cdea7be0e3fc2392f7a5b6c990cdedee84
3
+ metadata.gz: 9c610327c2fdb328ec173857bb83e73b8832f031
4
+ data.tar.gz: cbda75703b809052465a77d4fe990ea5668c1aa6
5
5
  SHA512:
6
- metadata.gz: 482e8320f3d5557c4f5b6957bb7a4a51350135bda91fd5b999eda3b328d2a762b8b944e776c5b21d0ab7d70bfb641f78daae7bc42ebf4d2004afcd10c3fa8f12
7
- data.tar.gz: d4d9599c355c60f3bfe13ec2392f6a5649c8cefcfb7eeebe3b8a6bf23d879e95ef52e00688aa6152259849ed3619ef817c6ec5338edc83a49b5499ec16a5fa14
6
+ metadata.gz: 9c87caf836245528cba9279360dea06f2839df9a54169754dcf3724a98790ecdd0499bf1959b50724ebc16f8a21a686fbdfa3456ffe9820b3231c5691db73173
7
+ data.tar.gz: 2d85193b826f87facacda14ba53655663eca76ca25fceb48f4362c0e13ea428cd35819e72bb380d2407a2b101229acab9e10f64b73fc294248d9fdcc255d6a90
@@ -1,3 +1,8 @@
1
+ ## 3.1.6
2
+ - Fix an issue with the `READER_IDLE` that was closing a connection in a middle of working on a batch #141
3
+ - Fix an issue when the plugin did not accept a specific host to bind to. #146
4
+ - Fix an issue when forcing a logstash shutdown that could result in an `InterruptedException` #145
5
+
1
6
  ## 3.1.5
2
7
  - Fix an issue when using a passphrase was raising a TypeError #138
3
8
  - Fix the filebeat integration suite to use the new `ssl` option instead of `tls`
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.5
1
+ 3.1.6
@@ -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('log4j', 'log4j', '1.2.17')
12
- require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.5')
12
+ require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.6')
@@ -137,7 +137,7 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
137
137
  config :cipher_suites, :validate => :array, :default => org.logstash.netty.SslSimpleBuilder::DEFAULT_CIPHERS
138
138
 
139
139
  # Close Idle clients after X seconds of inactivity.
140
- config :client_inactivity_timeout, :validate => :number, :default => 15
140
+ config :client_inactivity_timeout, :validate => :number, :default => 60
141
141
 
142
142
  def register
143
143
  # Logstash 2.4
@@ -167,7 +167,7 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
167
167
  end # def register
168
168
 
169
169
  def create_server
170
- server = org.logstash.beats.Server.new(@port)
170
+ server = org.logstash.beats.Server.new(@host, @port)
171
171
  if @ssl
172
172
  ssl_builder = org.logstash.netty.SslSimpleBuilder.new(@ssl_certificate, @ssl_key, @ssl_key_passphrase.nil? ? nil : @ssl_key_passphrase.value)
173
173
  .setProtocols(convert_protocols)
@@ -49,8 +49,12 @@ describe "Filebeat", :integration => true do
49
49
 
50
50
  let_tmp_file(:filebeat_config_path) { YAML.dump(filebeat_config) }
51
51
  before :each do
52
+ FileUtils.rm_rf(File.join(File.dirname(__FILE__), "..", "..", "vendor", "filebeat", "data"))
52
53
  start_client
53
- sleep(2) # give some time to FB to send something
54
+ sleep(20) # give some time to FB to send something
55
+ end
56
+
57
+ after :each do
54
58
  stop_client
55
59
  end
56
60
 
@@ -3,7 +3,7 @@ require "flores/random"
3
3
 
4
4
  shared_examples "send events" do
5
5
  it "successfully send the events" do
6
- wait(20).for { queue.size }.to eq(number_of_events), "Expected: #{number_of_events} got: #{queue.size}, execution output:\n #{@execution_output}"
6
+ try(50) { expect(queue.size).to eq(number_of_events), "Expected: #{number_of_events} got: #{queue.size}, execution output:\n #{@execution_output}" }
7
7
  expect(queue.collect { |e| e.get("message") }).to eq(events)
8
8
  end
9
9
  end
@@ -25,7 +25,7 @@ shared_examples "Common Event Transformation" do
25
25
  expect(subject.get("tags")).to include(tag)
26
26
  end
27
27
 
28
- context "when the `beast.hotname` doesnt exist on the event" do
28
+ context "when the `beats.hostname` doesnt exist on the event" do
29
29
  let(:already_exist) { "already_exist" }
30
30
  let(:event_map) { super.merge({ "host" => already_exist }) }
31
31
 
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.5
4
+ version: 3.1.6
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-21 00:00:00.000000000 Z
11
+ date: 2016-09-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -268,7 +268,7 @@ files:
268
268
  - vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/1.1.33.Fork17/netty-tcnative-boringssl-static-1.1.33.Fork17.jar
269
269
  - vendor/jar-dependencies/log4j/log4j/1.2.17/log4j-1.2.17.jar
270
270
  - vendor/jar-dependencies/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
271
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.5/logstash-input-beats-3.1.5.jar
271
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.6/logstash-input-beats-3.1.6.jar
272
272
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
273
273
  licenses:
274
274
  - Apache License (2.0)