fluent-plugin-syslog 0.1.10 → 0.1.11

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
  SHA1:
3
- metadata.gz: 851009aa703746d52b044b0f6f02403bebb3fd3f
4
- data.tar.gz: e2ad4fce7b992b93ec65145670307f7797ddd4c7
3
+ metadata.gz: ecbb970d30b2b97c3e530c1d2b890aec055c447f
4
+ data.tar.gz: 649ec2350c3a02f21b45de9b21f1702e6f2cb3ff
5
5
  SHA512:
6
- metadata.gz: a034d2d6e9f78ad96af027a5751aef99cf447f7802f1b615bcd378676baf782f5f4cf7a4a8082cf1437adbabd89c35e17e91c4cfbd9fd6a0fb5d1af98ac7e30a
7
- data.tar.gz: b84cd7e6e9bb159030c9d75b9ba99adc151957a7b32dfeac70aecdba82a3fd5b87befdb786603ffa50750c5d7184e8a7557329d85df41db53d64372bd1651f9d
6
+ metadata.gz: 764423466fe2b285121d6b808878bd96a9423fc231272f9e74f7b8a1cdb50090e7120f7bbde911e6da8f2bbbbff5abb68a3aad5b4425fbf9573bcd87d2564505
7
+ data.tar.gz: c0de5ebd99e2d16aa626b0a08b50e83e5a823d1bdda43c47ec29997ab13acb3eec1d4f41702ee905939363fd88ac138d5a9cc2e28951344a702bc0c69f70c8d7
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-syslog"
7
- spec.version = "0.1.10"
7
+ spec.version = "0.1.11"
8
8
  spec.authors = ["Aaron Collins"]
9
9
  spec.email = ["aaron.collins@hiremya.com"]
10
10
 
@@ -18,6 +18,7 @@ module Fluent
18
18
  config_param :syslog_pen, :string, default: '1'
19
19
  config_param :discard_unannotated_pod_logs, :bool, default: false
20
20
  config_param :parse_json, :bool, default: false
21
+ config_param :debug, :bool, default: false
21
22
  # overriding default flush_interval (60 sec) from Fluent::BufferedOutput
22
23
  config_param :flush_interval, :time, default: 5
23
24
 
@@ -91,6 +92,7 @@ module Fluent
91
92
  parser = Yajl::Parser.new
92
93
  parsed_message = parser.parse(record['message'])
93
94
  record.merge(parsed_message)
95
+ log.debug "Parsing JSON Log #{parsed_message}"
94
96
  rescue Yajl::ParseError
95
97
  end
96
98
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-syslog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Collins