fluent-plugin-tag-normaliser 0.1.1 → 0.1.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
- SHA1:
3
- metadata.gz: cff904fdcbdf429db11692bd5a5fde095768807e
4
- data.tar.gz: 1857ecae0b7ce8ac1e41cc5e2521d79cdd0f5e01
2
+ SHA256:
3
+ metadata.gz: b0be47cfc8a8fb73356184a7e0136f3d6b609e438b6ec39ada7c6b87500c9224
4
+ data.tar.gz: 8daa7f967cbf3a1459f00574a6035afa030a0d71b5febf83d23683d3c7f7edd3
5
5
  SHA512:
6
- metadata.gz: 398266030c0f08ec08367345fb592c412ea3a28622a1b9331db872ad7b010f3afeebb7b2187f4d5c52401838e21f69d068b5fcb12f9436b7e16021d72b8c79cd
7
- data.tar.gz: 36a96f7b7ee5ec750f1822ddb88f0368fe374ec98cf53fe24a43fd7e9113c112e5fe05a79e94e591e8633235d71151e3713eb4c07655570d063db04ffd5efb41
6
+ metadata.gz: 624186d87a41358ec45100c524d2fc170a5a18f2a107fe58e18f994ed545607d7e413abf3520eb7b87eae89def3e75ec935334a78593a075afb12daf640cd59d
7
+ data.tar.gz: 395bb59c940e0255c7b9ee170ac007583255c727f1dafe61d8333ca16d8342e6d62f048512f052e40beb4efb925bd1dc9950831c0f8da5fc720f408da1b36ee2
data/README.md CHANGED
@@ -39,7 +39,8 @@ You only need to specify the `format` option.
39
39
  |-----------|-------------|---------|
40
40
  | key_prefix | Prefix used to access record attributes | kubernetes |
41
41
  | format | Format to rewrite tag to. You can access record with `${record_name}` expression. Nested attributes available via `.` separator: `${labels.app}` | "" |
42
- | unknown | Fallback value for missing record attribute | "unknown |
42
+ | unknown | Fallback value for missing record attribute | "unknown" |
43
+ | sticky_tags | Sticky tags will match only one record from an event stream. The same tag will be treated the same way | true |
43
44
 
44
45
  ### Available fluent-bit provided kubernetes attributes
45
46
 
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-tag-normaliser"
6
- spec.version = "0.1.1"
6
+ spec.version = "0.1.2"
7
7
  spec.authors = ["Banzai Cloud"]
8
8
  spec.email = ["info@banzaicloud.com"]
9
9
 
@@ -37,6 +37,10 @@ module Fluent
37
37
  @tag_map = Hash.new { |k, v| k[v] = "" }
38
38
  end
39
39
 
40
+ def multi_workers_ready?
41
+ true
42
+ end
43
+
40
44
  def process(tag, es)
41
45
  if @sticky_tags
42
46
  if @tag_map.has_key?(tag)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-tag-normaliser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Banzai Cloud
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-14 00:00:00.000000000 Z
11
+ date: 2022-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,7 +92,7 @@ homepage: https://github.com/banzaicloud/fluent-plugin-tag-normaliser
92
92
  licenses:
93
93
  - Apache-2.0
94
94
  metadata: {}
95
- post_install_message:
95
+ post_install_message:
96
96
  rdoc_options: []
97
97
  require_paths:
98
98
  - lib
@@ -107,9 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubyforge_project:
111
- rubygems_version: 2.5.2.3
112
- signing_key:
110
+ rubygems_version: 3.1.6
111
+ signing_key:
113
112
  specification_version: 4
114
113
  summary: Tag-normaliser is a `fluentd` plugin to help re-tag logs with Kubernetes
115
114
  metadata.