fluent-plugin-light-core 0.2.1 → 0.2.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6963e9c755b56d0c56eb2efe8d5144b66ea1463dd826c90ab71f5b65a72f37
|
4
|
+
data.tar.gz: f37743b84fc9a68940c488e06903a71725ffbb14a0a7a02c2203a19074f22940
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d3fb8390aaf781220b4e288819c1f14c063a50c58ea850ef8b55ae63005ed3db03653b7e81f6cf349cfac04ca5259c2a4e2c73ec83003ed8290fefe9e187c1b
|
7
|
+
data.tar.gz: b89a10c9a2581a781536e06f4b7285c066ef1ec73f4a033bd646c7c2759e9de00a2a5227a5afa98ec406737390fd37c2212086a4cf33ccd7cab3addac4ec4787
|
@@ -36,6 +36,7 @@ module Fluent
|
|
36
36
|
config_param :lb_stream, :string, default: 'stderr'
|
37
37
|
config_param :lb_code, :array, default: ['400', '500'], value_type: :string
|
38
38
|
config_param :lb_elapsed, :float, default: 3
|
39
|
+
config_param :lb_ignore, :array, default: [], value_type: :string
|
39
40
|
|
40
41
|
# MongoDB 异常 settings
|
41
42
|
config_param :mongo_severity, :array, default: ['F', 'E'], value_type: :string
|
@@ -320,6 +321,11 @@ module Fluent
|
|
320
321
|
end
|
321
322
|
|
322
323
|
if tag == 'lb'
|
324
|
+
|
325
|
+
if @lb_ignore && record['path'] && @lb_ignore.include?(record['path'])
|
326
|
+
return record
|
327
|
+
end
|
328
|
+
|
323
329
|
if @lb_stream && record['stream']
|
324
330
|
send(tag, 'Stderror', record) if record['stream'] == @lb_stream
|
325
331
|
end
|
data/sample/source.conf
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-light-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- LIN LI
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -107,7 +107,6 @@ files:
|
|
107
107
|
- Rakefile
|
108
108
|
- fluent-plugin-light-core.gemspec
|
109
109
|
- lib/fluent/plugin/filter_light_core.rb
|
110
|
-
- pkg/fluent-plugin-light-core-0.2.0.gem
|
111
110
|
- sample/README.md
|
112
111
|
- sample/source.conf
|
113
112
|
- sample/udpsample.rb
|
Binary file
|