fluent-plugin-wodby 0.1.3 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-wodby.gemspec +1 -1
- data/lib/fluent/plugin/filter_wodby.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 54078ee6dd1cfe2697b08912aaba863c151f87ce64811a1057635a92ae568065
|
4
|
+
data.tar.gz: a13f8a3497af7789aa056eed9bdab5ffaf19957844dd26eabb5826739d45a5af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6dae147f6aa895fd9fc288bfaeaa55e94b634ede93c9c2dcae3c4b856ae0118f4f642e8a37bd1ad47f3fd7c0b99e269ede0c87e1ffee5813fdedfed2369244c
|
7
|
+
data.tar.gz: 9f656160c71fa19773f7eb021e456f299b0342dc794ce69e9a3adfa4f1aa5b92a301ff1bb5c4d761a414bc777add31b6635b595c011429d00139edc7fe7f40fb
|
data/fluent-plugin-wodby.gemspec
CHANGED
@@ -28,6 +28,7 @@ module Fluent
|
|
28
28
|
super
|
29
29
|
|
30
30
|
@instance_map = {}
|
31
|
+
log.info "Initialized wodby plugin"
|
31
32
|
end
|
32
33
|
|
33
34
|
def filter(tag, time, record)
|
@@ -43,6 +44,9 @@ module Fluent
|
|
43
44
|
end
|
44
45
|
|
45
46
|
record['wodby.instance'] = @instance_map[record['kubernetes.namespace_name']]
|
47
|
+
else
|
48
|
+
log.info "No namespace found"
|
49
|
+
log.info record
|
46
50
|
end
|
47
51
|
|
48
52
|
record
|