logstash-input-beats 6.8.2-java → 6.8.4-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 +6 -0
- data/VERSION +1 -1
- data/lib/logstash/inputs/beats/message_listener.rb +2 -2
- data/lib/logstash-input-beats_jars.rb +7 -7
- data/spec/inputs/beats/message_listener_spec.rb +9 -0
- data/vendor/jar-dependencies/io/netty/netty-buffer/{4.1.100.Final/netty-buffer-4.1.100.Final.jar → 4.1.109.Final/netty-buffer-4.1.109.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-codec/{4.1.100.Final/netty-codec-4.1.100.Final.jar → 4.1.109.Final/netty-codec-4.1.109.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-common/{4.1.100.Final/netty-common-4.1.100.Final.jar → 4.1.109.Final/netty-common-4.1.109.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-handler/{4.1.100.Final/netty-handler-4.1.100.Final.jar → 4.1.109.Final/netty-handler-4.1.109.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport/{4.1.100.Final/netty-transport-4.1.100.Final.jar → 4.1.109.Final/netty-transport-4.1.109.Final.jar} +0 -0
- data/vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/{4.1.100.Final/netty-transport-native-unix-common-4.1.100.Final.jar → 4.1.109.Final/netty-transport-native-unix-common-4.1.109.Final.jar} +0 -0
- data/vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/{6.8.2/logstash-input-beats-6.8.2.jar → 6.8.4/logstash-input-beats-6.8.4.jar} +0 -0
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a26922cbcd9213f93a8729afa3ef58abedf78468f28b7bf2317ad8aa7b173539
|
4
|
+
data.tar.gz: b1120393ac6920fb6277b048b2e39645be0c846864433a2ee48b566e3ee7ce38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1f1d39e8198af2c1867c217c962d6c8a91bcb6d9b382ba62bd5467fc50fc57cc2973d3b0612ca3dc15e3d88841ea395c303d06c658d5e36d2578c3d48c6487a
|
7
|
+
data.tar.gz: f25381a87fffd76b3fb1caf004336b5edb4b632d0777e25d684eac75c053289f3d8893c4ad40988a71089f43e7ed5fae40a64f36fe2af89e569e0b1262519ffc
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 6.8.4
|
2
|
+
- Fixed to populate the `@metadata` fields even if the source's metadata value is `nil` [#502](https://github.com/logstash-plugins/logstash-input-beats/pull/502)
|
3
|
+
|
4
|
+
## 6.8.3
|
5
|
+
- bump netty to 4.1.109 [#495](https://github.com/logstash-plugins/logstash-input-beats/pull/495)
|
6
|
+
|
1
7
|
## 6.8.2
|
2
8
|
- Remove Logstash forwarder test cases and add Lumberjack test cases [#488](https://github.com/logstash-plugins/logstash-input-beats/pull/488)
|
3
9
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.8.
|
1
|
+
6.8.4
|
@@ -35,7 +35,7 @@ module LogStash module Inputs class Beats
|
|
35
35
|
|
36
36
|
if @input.include_source_metadata?
|
37
37
|
ip_address = ip_address(ctx)
|
38
|
-
unless ip_address.nil?
|
38
|
+
unless ip_address.nil?
|
39
39
|
set_nested(hash, @input.field_hostip, ip_address)
|
40
40
|
end
|
41
41
|
end
|
@@ -167,7 +167,7 @@ module LogStash module Inputs class Beats
|
|
167
167
|
field_ref = Java::OrgLogstash::FieldReference.from(field_name)
|
168
168
|
# create @metadata sub-hash if needed
|
169
169
|
if field_ref.type == Java::OrgLogstash::FieldReference::META_CHILD
|
170
|
-
nesting_hash = hash[
|
170
|
+
nesting_hash = hash['@metadata'] ||= {}
|
171
171
|
else
|
172
172
|
nesting_hash = hash
|
173
173
|
end
|
@@ -1,11 +1,11 @@
|
|
1
1
|
# AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
|
2
2
|
|
3
3
|
require 'jar_dependencies'
|
4
|
-
require_jar('io.netty', 'netty-buffer', '4.1.
|
5
|
-
require_jar('io.netty', 'netty-codec', '4.1.
|
6
|
-
require_jar('io.netty', 'netty-common', '4.1.
|
7
|
-
require_jar('io.netty', 'netty-transport', '4.1.
|
8
|
-
require_jar('io.netty', 'netty-handler', '4.1.
|
9
|
-
require_jar('io.netty', 'netty-transport-native-unix-common', '4.1.
|
4
|
+
require_jar('io.netty', 'netty-buffer', '4.1.109.Final')
|
5
|
+
require_jar('io.netty', 'netty-codec', '4.1.109.Final')
|
6
|
+
require_jar('io.netty', 'netty-common', '4.1.109.Final')
|
7
|
+
require_jar('io.netty', 'netty-transport', '4.1.109.Final')
|
8
|
+
require_jar('io.netty', 'netty-handler', '4.1.109.Final')
|
9
|
+
require_jar('io.netty', 'netty-transport-native-unix-common', '4.1.109.Final')
|
10
10
|
require_jar('org.javassist', 'javassist', '3.24.0-GA')
|
11
|
-
require_jar('org.logstash.beats', 'logstash-input-beats', '6.8.
|
11
|
+
require_jar('org.logstash.beats', 'logstash-input-beats', '6.8.4')
|
@@ -109,6 +109,15 @@ shared_examples "when the message is from any libbeat" do |ecs_compatibility, ho
|
|
109
109
|
expect(event.get(host_field_name)).to eq(nil)
|
110
110
|
end
|
111
111
|
end
|
112
|
+
|
113
|
+
context 'when @metadata is nil' do
|
114
|
+
let(:data) { super().reject { |k| '@metadata'.eql?(k) } }
|
115
|
+
|
116
|
+
it 'extracts event with the host field metadata set' do
|
117
|
+
subject.onNewMessage(ctx, message)
|
118
|
+
expect(queue.pop.get(host_field_name)).to eq(ip_address)
|
119
|
+
end
|
120
|
+
end
|
112
121
|
end
|
113
122
|
|
114
123
|
describe LogStash::Inputs::Beats::MessageListener do
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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: 6.8.
|
4
|
+
version: 6.8.4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -319,14 +319,14 @@ files:
|
|
319
319
|
- spec/support/integration_shared_context.rb
|
320
320
|
- spec/support/logstash_test.rb
|
321
321
|
- spec/support/shared_examples.rb
|
322
|
-
- vendor/jar-dependencies/io/netty/netty-buffer/4.1.
|
323
|
-
- vendor/jar-dependencies/io/netty/netty-codec/4.1.
|
324
|
-
- vendor/jar-dependencies/io/netty/netty-common/4.1.
|
325
|
-
- vendor/jar-dependencies/io/netty/netty-handler/4.1.
|
326
|
-
- vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/4.1.
|
327
|
-
- vendor/jar-dependencies/io/netty/netty-transport/4.1.
|
322
|
+
- vendor/jar-dependencies/io/netty/netty-buffer/4.1.109.Final/netty-buffer-4.1.109.Final.jar
|
323
|
+
- vendor/jar-dependencies/io/netty/netty-codec/4.1.109.Final/netty-codec-4.1.109.Final.jar
|
324
|
+
- vendor/jar-dependencies/io/netty/netty-common/4.1.109.Final/netty-common-4.1.109.Final.jar
|
325
|
+
- vendor/jar-dependencies/io/netty/netty-handler/4.1.109.Final/netty-handler-4.1.109.Final.jar
|
326
|
+
- vendor/jar-dependencies/io/netty/netty-transport-native-unix-common/4.1.109.Final/netty-transport-native-unix-common-4.1.109.Final.jar
|
327
|
+
- vendor/jar-dependencies/io/netty/netty-transport/4.1.109.Final/netty-transport-4.1.109.Final.jar
|
328
328
|
- vendor/jar-dependencies/org/javassist/javassist/3.24.0-GA/javassist-3.24.0-GA.jar
|
329
|
-
- vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/6.8.
|
329
|
+
- vendor/jar-dependencies/org/logstash/beats/logstash-input-beats/6.8.4/logstash-input-beats-6.8.4.jar
|
330
330
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
331
331
|
licenses:
|
332
332
|
- Apache License (2.0)
|