fluent-plugin-postgresql_csv 0.0.3 → 0.0.5
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: cded5d77d9f6754af67940a1da0416fef2b41855a20016ff463e40c55cdcc030
|
4
|
+
data.tar.gz: de4aa7bfe92a6da2499196efaabd2768fb8d9dbfa821608934a4038c83e23d9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 995da3316469b642ff0a3ee2f20dce6266e2934d4abeb2b627f228bd7fa2fb3dbed99aa5e10a533e2a80dfe4c45bb3ec71a55f68b9d1cba1503451d2d2d1336a
|
7
|
+
data.tar.gz: e025584fcb546e9ff98466cfec8c2aa5d4ad84f7585542d55d66f6cad800710ae2891e9dfd28a16267761ffc7bcf3c98cd23ae06ef452b1fdfd97559d13c5f91
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = "fluent-plugin-postgresql_csv"
|
7
|
-
gem.version = "0.0.
|
7
|
+
gem.version = "0.0.5"
|
8
8
|
gem.summary = %q{Fluentd filter plugin for PostgreSQL logs in CSV format}
|
9
9
|
gem.authors = ["Oleg Gurov"]
|
10
10
|
gem.homepage = "https://github.com/masterlee998/"
|
@@ -14,7 +14,6 @@ Gem::Specification.new do |gem|
|
|
14
14
|
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
15
15
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
16
16
|
gem.require_paths = ["lib"]
|
17
|
-
gem.has_rdoc = false
|
18
17
|
|
19
18
|
gem.required_ruby_version = ['>= 2.1.0', '< 2.5.0']
|
20
19
|
gem.add_runtime_dependency 'fluentd', '>= 0.14.0'
|
@@ -56,7 +56,7 @@ class PostgreSQL_CSV_Filter < Filter
|
|
56
56
|
duration = parsed_value['message'].scan(/duration: (\d+(?:\.\d+)?) ms statement: (.+)/m)[0]
|
57
57
|
if duration != nil and duration.kind_of?(Array)
|
58
58
|
parsed_value['duration'] = duration[0]
|
59
|
-
#parsed_value['duration'] = duration[0].to_f
|
59
|
+
# parsed_value['duration'] = duration[0].to_f
|
60
60
|
end
|
61
61
|
|
62
62
|
record['postgresql'] = parsed_value
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-postgresql_csv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleg Gurov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fluentd
|
@@ -75,7 +75,7 @@ files:
|
|
75
75
|
- ".idea/vcs.xml"
|
76
76
|
- Gemfile
|
77
77
|
- Rakefile
|
78
|
-
- fluent-plugin-
|
78
|
+
- fluent-plugin-postgresql_csv.gemspec
|
79
79
|
- lib/fluent/plugin/filter_postgresql_csv.rb
|
80
80
|
- test/helper.rb
|
81
81
|
- test/plugin/test_filter_postgresql_csv.rb
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
version: '0'
|
103
103
|
requirements: []
|
104
104
|
rubyforge_project:
|
105
|
-
rubygems_version: 2.7.
|
105
|
+
rubygems_version: 2.7.7
|
106
106
|
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Fluentd filter plugin for PostgreSQL logs in CSV format
|