fluent-plugin-nais 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 11b7dfe3ed32f64df095551afb5f58d91f0aa139
4
- data.tar.gz: 92c263791904cedc2468cbfa1bbfd19fb9cf41ef
3
+ metadata.gz: e06342043ba2dabd9075c17f573cbc70e89ad023
4
+ data.tar.gz: 9f6a74e2532be490ce4d59f693b5b89333c61565
5
5
  SHA512:
6
- metadata.gz: ce7c0ab9cb4fc64eab6e5c4ef08851da6ac48b3e7f22e0710b385ae2a384d38dd4b566488ca9fda39af35bc13f87e13028e1b33eb3564f1de10f20a4a6f5b82a
7
- data.tar.gz: 7cd82fcb890bab776efb01fbb6744659b787778c68982179f53115b30d3c7f8e15b794fc158dd89b40356cede79125c784f5b8cff07b3f27d291d912207f6a35
6
+ metadata.gz: 40d57b4f8cb6b395173b86fcfd33ba0449f15b56cce4fcbec86138d7cc6e92b6515726ff0762a2d98c574cd3d7571e52a86d9cc4b3f11c013656773f567f22c3
7
+ data.tar.gz: 0cb509e6164f9a07cc824b32618639989738968165d90b67347b2759c139caf77fdb7a681f5a40cfa58627fbe3160f1be952f016e457048a0d88abaaa05d87cd
@@ -1,7 +1,7 @@
1
1
  module Fluent
2
2
  module Plugin
3
3
  module Nais
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-nais
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terje Sannum
@@ -97,7 +97,6 @@ files:
97
97
  - bin/console
98
98
  - bin/setup
99
99
  - fluent-plugin-nais.gemspec
100
- - lib/fluent/plugin/filter_nais_environment.rb
101
100
  - lib/fluent/plugin/filter_nais_exceptions.rb
102
101
  - lib/fluent/plugin/filter_nais_flatten_record.rb
103
102
  - lib/fluent/plugin/filter_nais_prefix_nonstandard.rb
@@ -1,20 +0,0 @@
1
- require "fluent/plugin/nais/version"
2
- require 'fluent/plugin/filter'
3
- require 'nais/log/parser'
4
-
5
- module Fluent::Plugin
6
- class NaisEnvironmentFilter < Filter
7
- Fluent::Plugin.register_filter('nais_environment', self)
8
-
9
- def configure(conf)
10
- super
11
- end
12
-
13
- def filter(tag, time, record)
14
- record["cluster"] = "#{ENV['CLUSTER_NAME']}"
15
- record["envclass"] = "#{ENV['CLUSTER_ENVCLASS']}"
16
- record
17
- end
18
-
19
- end
20
- end