logstash-input-beats 5.1.9-java → 6.0.0-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9a0e0074ea17e1cc3771b987e5adf153ac7bac0ed260be4fa32aebcaf864bb8
4
- data.tar.gz: 2d3359740c3bc9cd0142120e0edbbb27e92ae92b982440f6eb9f6bc1228903c5
3
+ metadata.gz: 39c210ae258ed8bd369c6a346909174ed4e0d85693fdae014579528c00db2f1f
4
+ data.tar.gz: a25a9375c4017fc6adaf197a5da36b3735d29cac64530ee217195f53bc8775ee
5
5
  SHA512:
6
- metadata.gz: 7d5c2934d262dba8b5dd23a35a190a255c870919ddbed710aa3db7a06be3a9fc99ccb28c16c54dbdf574c0a13d1867782dab4bdbd93459179098749a4a45d029
7
- data.tar.gz: db8cf9e01ab5159a6e36211d2a19449f2da44f0ca9fed86fb838e9f3f2560dd16a3b235c7383643860a138d9d8fa91e9ec3f3cfde27b47eec876fd4a10ffa689
6
+ metadata.gz: 455af4f09ebb53a032cb2965400b999b9e80928c6e14f1e74a6ea3c7bedf57fbcc8e374136c9f18afaebfb3212ad5314218dafbbd4d772cc439d1075b99a58f7
7
+ data.tar.gz: 9c365edb5417a5f157db1cacd3993a1d9f038a939ad7d59e3927aa42dd537ddad5cdbc303b2ff5015e9db32e5b992076cb8983beaba01da2604abb53b3736f2d
@@ -1,5 +1,6 @@
1
- ## 5.1.9
2
- - Backport [#366](https://github.com/logstash-plugins/logstash-input-beats/pull/366) and [#368](https://github.com/logstash-plugins/logstash-input-beats/pull/368) from 6.x
1
+ ## 6.0.0
2
+ - Removed obsolete setting congestion_threshold and target_field_for_codec
3
+ - Changed default value of `add_hostname` to false
3
4
 
4
5
  ## 5.1.8
5
6
  - Loosen jar-dependencies manager gem dependency to allow plugin to work with JRubies that include a later version.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.1.9
1
+ 6.0.0
@@ -116,11 +116,10 @@ input plugins.
116
116
  [id="plugins-{type}s-{plugin}-add_hostname"]
117
117
  ===== `add_hostname`
118
118
 
119
- added[5.1.4, Field was added to allow users to control whether or not the `host` field is automatically added to events.]
120
- deprecated[5.1.4, In future versions of this plugin, this setting will be removed, and the 'hosts' field will not be added to events.]
119
+ deprecated[6.0.0, The default value has been changed to `false`. In 7.0.0 this setting will be removed]
121
120
 
122
121
  * Value type is <<boolean,boolean>>
123
- * Default value is `true`
122
+ * Default value is `false`
124
123
 
125
124
  Flag to determine whether to add `host` field to event using the value supplied by the beat in the `hostname` field.
126
125
 
@@ -4,9 +4,9 @@ require 'jar_dependencies'
4
4
  require_jar('io.netty', 'netty-all', '4.1.30.Final')
5
5
  require_jar('io.netty', 'netty-tcnative-boringssl-static', '2.0.12.Final')
6
6
  require_jar('org.javassist', 'javassist', '3.24.0-GA')
7
- require_jar('com.fasterxml.jackson.core', 'jackson-core', '2.9.9')
8
- require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.9.9')
9
- require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.9.9.3')
10
- require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.9.9')
7
+ require_jar('com.fasterxml.jackson.core', 'jackson-core', '2.9.7')
8
+ require_jar('com.fasterxml.jackson.core', 'jackson-annotations', '2.9.7')
9
+ require_jar('com.fasterxml.jackson.core', 'jackson-databind', '2.9.7')
10
+ require_jar('com.fasterxml.jackson.module', 'jackson-module-afterburner', '2.9.7')
11
11
  require_jar('org.apache.logging.log4j', 'log4j-api', '2.11.1')
12
- require_jar('org.logstash.beats', 'logstash-input-beats', '5.1.9')
12
+ require_jar('org.logstash.beats', 'logstash-input-beats', '6.0.0')
@@ -83,8 +83,7 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
83
83
  config :ssl_certificate_authorities, :validate => :array, :default => []
84
84
 
85
85
  # Flag to determine whether to add host information (provided by the beat in the 'hostname' field) to the event
86
- config :add_hostname, :validate => :boolean, :default => true, :deprecated => 'Host field will not be automatically populated by future version of the Beats input'
87
-
86
+ config :add_hostname, :validate => :boolean, :default => false, :deprecated => 'This option will be removed in the future as beats determine the event schema'
88
87
 
89
88
  # By default the server doesn't do any client verification.
90
89
  #
@@ -106,13 +105,6 @@ class LogStash::Inputs::Beats < LogStash::Inputs::Base
106
105
  # Time in milliseconds for an incomplete ssl handshake to timeout
107
106
  config :ssl_handshake_timeout, :validate => :number, :default => 10000
108
107
 
109
- # The number of seconds before we raise a timeout.
110
- # This option is useful to control how much time to wait if something is blocking the pipeline.
111
- config :congestion_threshold, :validate => :number, :obsolete => "This option is obsolete since congestion control is done automatically"
112
-
113
- # This is the default field to which the specified codec will be applied.
114
- config :target_field_for_codec, :validate => :string, :obsolete => "This option is obsolete"
115
-
116
108
  # The minimum TLS version allowed for the encrypted connections. The value must be one of the following:
117
109
  # 1.0 for TLS 1.0, 1.1 for TLS 1.1, 1.2 for TLS 1.2
118
110
  config :tls_min_version, :validate => :number, :default => TLS.min.version
@@ -4,9 +4,9 @@ VENDOR_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "ve
4
4
 
5
5
  #TODO: Figure out better means to keep this version in sync
6
6
  if OS_PLATFORM == "linux"
7
- FILEBEAT_URL = "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.0.0-alpha2-linux-x86_64.tar.gz"
7
+ FILEBEAT_URL = "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.5.4-linux-x86_64.tar.gz"
8
8
  elsif OS_PLATFORM == "darwin"
9
- FILEBEAT_URL = "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.0.0-alpha2-darwin-x86_64.tar.gz"
9
+ FILEBEAT_URL = "https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-6.5.4-darwin-x86_64.tar.gz"
10
10
  end
11
11
 
12
12
  LSF_URL = "https://download.elastic.co/logstash-forwarder/binaries/logstash-forwarder_#{OS_PLATFORM}_amd64"
@@ -37,14 +37,13 @@ describe "Filebeat", :integration => true do
37
37
  let(:filebeat_config) do
38
38
  {
39
39
  "filebeat" => {
40
- "prospectors" => [{ "paths" => [log_file], "input_type" => "log" }],
41
- "scan_frequency" => "1s",
42
- "idle_timeout" => "1s"
40
+ "prospectors" => [{ "paths" => [log_file], "type" => "log" }],
41
+ "scan_frequency" => "1s"
43
42
  },
44
43
  "output" => {
45
44
  "logstash" => { "hosts" => ["#{host}:#{port}"] },
46
- "logging" => { "level" => "debug" }
47
- }
45
+ },
46
+ "logging" => { "level" => "debug" }
48
47
  }
49
48
  end
50
49
 
@@ -90,9 +89,10 @@ describe "Filebeat", :integration => true do
90
89
  "logstash" => {
91
90
  "hosts" => ["#{host}:#{port}"],
92
91
  "ssl" => { "certificate_authorities" => certificate_authorities }
93
- },
94
- "logging" => { "level" => "debug" }
95
- }})
92
+ }
93
+ },
94
+ "logging" => { "level" => "debug" }
95
+ })
96
96
  end
97
97
 
98
98
  let(:input_config) do
@@ -123,9 +123,10 @@ describe "Filebeat", :integration => true do
123
123
  "versions" => ["TLSv1.2"],
124
124
  "cipher_suites" => [beats_cipher]
125
125
  }
126
- },
127
- "logging" => { "level" => "debug" }
128
- }})
126
+ }
127
+ },
128
+ "logging" => { "level" => "debug" }
129
+ })
129
130
  end
130
131
 
131
132
  let(:input_config) {
@@ -222,9 +223,10 @@ describe "Filebeat", :integration => true do
222
223
  "certificate" => certificate_file,
223
224
  "key" => certificate_key_file
224
225
  }
225
- },
226
- "logging" => { "level" => "debug" }
227
- }})
226
+ }
227
+ },
228
+ "logging" => { "level" => "debug" }
229
+ })
228
230
  end
229
231
 
230
232
  let(:input_config) do
@@ -319,9 +321,10 @@ describe "Filebeat", :integration => true do
319
321
  "certificate" => secondary_client_certificate_file,
320
322
  "key" => secondary_client_certificate_key_file
321
323
  }
322
- },
323
- "logging" => { "level" => "debug" }
324
- }})
324
+ }
325
+ },
326
+ "logging" => { "level" => "debug" }
327
+ })
325
328
  end
326
329
 
327
330
  include_examples "send events"
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: 5.1.9
4
+ version: 6.0.0
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-02 00:00:00.000000000 Z
11
+ date: 2019-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -264,15 +264,15 @@ files:
264
264
  - spec/support/integration_shared_context.rb
265
265
  - spec/support/logstash_test.rb
266
266
  - spec/support/shared_examples.rb
267
- - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-annotations/2.9.9/jackson-annotations-2.9.9.jar
268
- - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.9.9/jackson-core-2.9.9.jar
269
- - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-databind/2.9.9.3/jackson-databind-2.9.9.3.jar
270
- - vendor/jar-dependencies/com/fasterxml/jackson/module/jackson-module-afterburner/2.9.9/jackson-module-afterburner-2.9.9.jar
267
+ - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-annotations/2.9.7/jackson-annotations-2.9.7.jar
268
+ - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-core/2.9.7/jackson-core-2.9.7.jar
269
+ - vendor/jar-dependencies/com/fasterxml/jackson/core/jackson-databind/2.9.7/jackson-databind-2.9.7.jar
270
+ - vendor/jar-dependencies/com/fasterxml/jackson/module/jackson-module-afterburner/2.9.7/jackson-module-afterburner-2.9.7.jar
271
271
  - vendor/jar-dependencies/io/netty/netty-all/4.1.30.Final/netty-all-4.1.30.Final.jar
272
272
  - vendor/jar-dependencies/io/netty/netty-tcnative-boringssl-static/2.0.12.Final/netty-tcnative-boringssl-static-2.0.12.Final.jar
273
273
  - vendor/jar-dependencies/org/apache/logging/log4j/log4j-api/2.11.1/log4j-api-2.11.1.jar
274
274
  - vendor/jar-dependencies/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar
275
- - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/5.1.9/logstash-input-beats-5.1.9.jar
275
+ - vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/6.0.0/logstash-input-beats-6.0.0.jar
276
276
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
277
277
  licenses:
278
278
  - Apache License (2.0)