logstash-input-beats 3.1.12-java → 3.1.14-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/VERSION +1 -1
- data/lib/logstash-input-beats_jars.rb +1 -1
- data/lib/logstash/inputs/beats.rb +2 -19
- data/lib/logstash/inputs/beats/patch.rb +19 -0
- data/spec/inputs/beats/codec_callback_listener_spec.rb +1 -1
- data/vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/{3.1.12/logstash-input-beats-3.1.12.jar → 3.1.14/logstash-input-beats-3.1.14.jar} +0 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9a6635af154b5bd67a3f607df26a4bea663c76c
|
4
|
+
data.tar.gz: ad4126001e90cc0b78ee508d0dd9a709ab0d4c9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9451db6c5cbfb4ea755ac6b318f4979663d6c57adcb29aa38de1dca6d5ca40f8e36daa11b934c78257d095486f2d70272163a13c3175d77947d446f84083d8e2
|
7
|
+
data.tar.gz: 0b9fa66bc546e6bbc1253a92c04acb8262e384be58206a85c65a8bb22843698e4fc77554be7a462fddead78addc60efc5f484d17bb127db799513f92b93a4ae0
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## 3.1.14
|
2
|
+
- Fix: Make sure idle connection are correctly close for the right client, #185, #178
|
3
|
+
- Fix: remoge string interpolation for logging in critical path #184
|
4
|
+
|
5
|
+
## 3.1.13
|
6
|
+
- Fix: remove monkeypatch from the main class to fix the documentation generator issues
|
7
|
+
|
1
8
|
## 3.1.12
|
2
9
|
- Fix the Logger initialization in logstash 2.4.X #166
|
3
10
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.14
|
@@ -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.
|
12
|
+
require_jar('org.logstash.beats', 'logstash-input-beats', '3.1.14')
|
@@ -6,6 +6,7 @@ require "logstash/codecs/identity_map_codec"
|
|
6
6
|
require "logstash/codecs/multiline"
|
7
7
|
require "logstash/util"
|
8
8
|
require "logstash-input-beats_jars"
|
9
|
+
require_relative "beats/patch"
|
9
10
|
|
10
11
|
# This input plugin enables Logstash to receive events from the
|
11
12
|
# https://www.elastic.co/products/beats[Elastic Beats] framework.
|
@@ -36,24 +37,6 @@ require "logstash-input-beats_jars"
|
|
36
37
|
# a setting for the <<plugins-inputs-beats-type,`type`>> config option in
|
37
38
|
# Logstash, it is ignored.
|
38
39
|
#
|
39
|
-
class LogStash::Codecs::Base
|
40
|
-
# This monkey patch add callback based
|
41
|
-
# flow to the codec until its shipped with core.
|
42
|
-
# This give greater flexibility to the implementation by
|
43
|
-
# sending more data to the actual block.
|
44
|
-
if !method_defined?(:accept)
|
45
|
-
def accept(listener)
|
46
|
-
decode(listener.data) do |event|
|
47
|
-
listener.process_event(event)
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|
51
|
-
if !method_defined?(:auto_flush)
|
52
|
-
def auto_flush(*)
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
|
57
40
|
class LogStash::Inputs::Beats < LogStash::Inputs::Base
|
58
41
|
require "logstash/inputs/beats/codec_callback_listener"
|
59
42
|
require "logstash/inputs/beats/event_transform_common"
|
@@ -81,7 +64,7 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
|
|
81
64
|
config :ssl_certificate, :validate => :path
|
82
65
|
|
83
66
|
# SSL key to use.
|
84
|
-
# NOTE: This key need to be in the PKCS8 format, you can convert it with https://www.openssl.org/docs/
|
67
|
+
# NOTE: This key need to be in the PKCS8 format, you can convert it with https://www.openssl.org/docs/man1.1.0/apps/pkcs8.html[OpenSSL]
|
85
68
|
# for more information.
|
86
69
|
config :ssl_key, :validate => :path
|
87
70
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
class LogStash::Codecs::Base
|
3
|
+
# This monkey patch add callback based
|
4
|
+
# flow to the codec until its shipped with core.
|
5
|
+
# This give greater flexibility to the implementation by
|
6
|
+
# sending more data to the actual block.
|
7
|
+
if !method_defined?(:accept)
|
8
|
+
def accept(listener)
|
9
|
+
decode(listener.data) do |event|
|
10
|
+
listener.process_event(event)
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
if !method_defined?(:auto_flush)
|
15
|
+
def auto_flush(*)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
Binary file
|
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.
|
4
|
+
version: 3.1.14
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -238,6 +238,7 @@ files:
|
|
238
238
|
- lib/logstash/inputs/beats/decoded_event_transform.rb
|
239
239
|
- lib/logstash/inputs/beats/event_transform_common.rb
|
240
240
|
- lib/logstash/inputs/beats/message_listener.rb
|
241
|
+
- lib/logstash/inputs/beats/patch.rb
|
241
242
|
- lib/logstash/inputs/beats/raw_event_transform.rb
|
242
243
|
- lib/logstash/inputs/beats/tls.rb
|
243
244
|
- lib/tasks/build.rake
|
@@ -268,7 +269,7 @@ files:
|
|
268
269
|
- vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/1.1.33.Fork23/netty-tcnative-boringssl-static-1.1.33.Fork23.jar
|
269
270
|
- vendor/jar-dependencies/log4j/log4j/1.2.17/log4j-1.2.17.jar
|
270
271
|
- 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.
|
272
|
+
- vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/3.1.14/logstash-input-beats-3.1.14.jar
|
272
273
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
273
274
|
licenses:
|
274
275
|
- Apache License (2.0)
|