logstash-input-beats 3.0.3 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/inputs/beats.rb +17 -20
- data/logstash-input-beats.gemspec +2 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27cb39be1dad17a9fed8e3b458945cf7d6e6d868
|
4
|
+
data.tar.gz: d2d9f34a2a0d051c469537ee8b809ae9050b0db6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6e9c53f0abde2555c8a22f639648975d8ecf9a29ad6c2f5d33c7b3cf46be58700eb7e20885f31383cca13759711dd17c6bb1994dc88d61bb8daf2c77bb9354f
|
7
|
+
data.tar.gz: 16bc91118ce07d42b1a6095fbede83fa73ca97fe5e342afac9786624f2b54aaebf3d21be691c7694611fe09ca32da46771b9d57cba840aa344fcf3107016aba0
|
data/CHANGELOG.md
CHANGED
@@ -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
|
-
#
|
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
|
59
|
-
# enable encryption by
|
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
|
73
|
-
# You can
|
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
|
78
|
-
# Intermediate
|
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
|
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
|
-
#
|
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
|
88
|
-
# doesn't provide
|
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
|
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
|
-
#
|
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
|
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
|
+
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", "
|
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.
|
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-
|
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.
|
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.
|
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.
|
276
|
+
rubygems_version: 2.6.3
|
271
277
|
signing_key:
|
272
278
|
specification_version: 4
|
273
279
|
summary: Receive events using the lumberjack protocol.
|