fluent-plugin-udp_forward 2.0.1 → 2.0.2
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 +4 -4
- data/fluent-plugin-udp_forward.gemspec +18 -18
- data/lib/fluent/plugin/in_udp_forward.rb +5 -0
- metadata +6 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e05f438b5e1a8b88e97187e2c945a8264e2e996ab3d8fef0cb9cb629048494cf
|
|
4
|
+
data.tar.gz: a6218b953ead26eeecfb31f5dd03640f571ca257f7e522a3ff9957921afd2c06
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30bf099f19682bc8945c3541a681b59ec975d3d86dc882a0092a472a1ae5d84ab1d80e13fcfce024ca85decad563c39346f8f6e531878ccc41750bcf3b6482c6
|
|
7
|
+
data.tar.gz: edf57f09c75d6a805687a15dfbeeab4849107f2ec148323b5393c8e498d842c0e59dce61b005a3b81d2258ab3cf244288fbbc94db336725890429f26d50e5dba
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
# encoding: utf-8
|
|
2
|
-
Gem::Specification.new do |gem|
|
|
3
|
-
gem.name = "fluent-plugin-udp_forward"
|
|
4
|
-
gem.description = "This input plugin allows you to collect incoming events over UDP"
|
|
5
|
-
gem.homepage = "https://github.com/tombolaltd/fluent-plugin-udp_forward"
|
|
6
|
-
gem.summary = gem.description
|
|
7
|
-
gem.version = "2.0.
|
|
8
|
-
gem.license = 'MIT'
|
|
9
|
-
gem.authors = ["Sohaib Maroof"]
|
|
10
|
-
gem.email = "sohaib.maroof@tombola.com"
|
|
11
|
-
gem.has_rdoc = false
|
|
12
|
-
gem.files = `git ls-files`.split("\n")
|
|
13
|
-
gem.require_paths = ['lib']
|
|
14
|
-
gem.add_runtime_dependency "fluentd", [">= 0.14.0", "< 2"]
|
|
15
|
-
gem.required_ruby_version = '>= 2.1'
|
|
16
|
-
end
|
|
17
|
-
|
|
18
|
-
|
|
1
|
+
# encoding: utf-8
|
|
2
|
+
Gem::Specification.new do |gem|
|
|
3
|
+
gem.name = "fluent-plugin-udp_forward"
|
|
4
|
+
gem.description = "This input plugin allows you to collect incoming events over UDP"
|
|
5
|
+
gem.homepage = "https://github.com/tombolaltd/fluent-plugin-udp_forward"
|
|
6
|
+
gem.summary = gem.description
|
|
7
|
+
gem.version = "2.0.2"
|
|
8
|
+
gem.license = 'MIT'
|
|
9
|
+
gem.authors = ["Sohaib Maroof"]
|
|
10
|
+
gem.email = "sohaib.maroof@tombola.com"
|
|
11
|
+
gem.has_rdoc = false
|
|
12
|
+
gem.files = `git ls-files`.split("\n")
|
|
13
|
+
gem.require_paths = ['lib']
|
|
14
|
+
gem.add_runtime_dependency "fluentd", [">= 0.14.0", "< 2"]
|
|
15
|
+
gem.required_ruby_version = '>= 2.1'
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
|
|
@@ -53,6 +53,11 @@ module Fluent
|
|
|
53
53
|
parsed = {}
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
+
unless parsed.is_a?(Hash)
|
|
57
|
+
$log.warn("invalid message format, expected JSON object: #{message}")
|
|
58
|
+
return [nil, Engine.now, nil]
|
|
59
|
+
end
|
|
60
|
+
|
|
56
61
|
time = Engine.now
|
|
57
62
|
tag = parsed[@tag_key]
|
|
58
63
|
record = parsed[@message_key]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fluent-plugin-udp_forward
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sohaib Maroof
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2026-02-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fluentd
|
|
@@ -45,7 +45,7 @@ homepage: https://github.com/tombolaltd/fluent-plugin-udp_forward
|
|
|
45
45
|
licenses:
|
|
46
46
|
- MIT
|
|
47
47
|
metadata: {}
|
|
48
|
-
post_install_message:
|
|
48
|
+
post_install_message:
|
|
49
49
|
rdoc_options: []
|
|
50
50
|
require_paths:
|
|
51
51
|
- lib
|
|
@@ -60,9 +60,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: '0'
|
|
62
62
|
requirements: []
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
signing_key:
|
|
63
|
+
rubygems_version: 3.4.20
|
|
64
|
+
signing_key:
|
|
66
65
|
specification_version: 4
|
|
67
66
|
summary: This input plugin allows you to collect incoming events over UDP
|
|
68
67
|
test_files: []
|