fluent-plugin-verticajson 0.0.4 → 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
  SHA1:
3
- metadata.gz: 8e02e460c2db2f77113874d885d6c52e6c352882
4
- data.tar.gz: 4964b33f1def515d2899c75cbd3a12fda7117b72
3
+ metadata.gz: a6fca93b1a63fcb907ea9751998bff1251984227
4
+ data.tar.gz: de6bc3e4527ff1d93ba2d12ab94f7c68c4956ed7
5
5
  SHA512:
6
- metadata.gz: a5baf1a38947322197cedca4c99d5d58a9b398be01d40d7849fe3fb1761cffb83fb5e69a43c613254c8dcfc44c6c6fe4c0ca7cee611519f2194867a9794c5004
7
- data.tar.gz: c855f7f1a66070aa44bb884840b171b24a98d97af9510dd831248a33ee78aeb403e30baee4f6003926f98eaf46ec5e6e19da5bb086a4b60320c72d35e3d1d08e
6
+ metadata.gz: 84184b6b06a56b9fc6c1af94e42740b7ae470877093ae0534beeb5f911721046975d7ab87b9526dc412d79839ee5322e5216049341d6ba42ce350ae3f68ef4fd
7
+ data.tar.gz: 48245989348b7239b4ef703e4c497dc9e6918c7f2646026a71cbd663ca52f64d7daf08e4cd6cefba30481d937dfdce244809ccec4ae08fca8e3a04cf5ea31711
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2017 Wandera
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,20 @@
1
+ # Fluentd output plugin for vertica #
2
+
3
+ Fluentd output plugin for vertica based using the JSON parser.
4
+ Please see [Fluentd](http://fluentd.org) for more information
5
+
6
+ ## Example configuration ##
7
+
8
+ <match vertica.public.test>
9
+ type verticajson
10
+
11
+ database mydb
12
+ schema public
13
+ table test
14
+
15
+ username dbadmin
16
+ password mypass
17
+
18
+ host 127.0.0.1
19
+ port 5433
20
+ </match>
@@ -43,7 +43,7 @@ module Fluent
43
43
  vertica.copy(<<-SQL) { |handle| handle.write(file_contents) }
44
44
  COPY #{perm_table}
45
45
  FROM STDIN
46
- PARSER fjsonparser()
46
+ PARSER fjsonparser(flatten_maps=false)
47
47
  ENFORCELENGTH DIRECT
48
48
  REJECTED DATA AS TABLE #{@table}_rejected
49
49
  SQL
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-verticajson
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josef Janda
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-01 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.10.35
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 0.10.35
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: vertica
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: json
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description:
@@ -59,9 +59,12 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
+ - LICENSE
63
+ - README.md
62
64
  - lib/fluent/plugin/out_verticajson.rb
63
65
  homepage:
64
- licenses: []
66
+ licenses:
67
+ - MIT
65
68
  metadata: {}
66
69
  post_install_message:
67
70
  rdoc_options: []
@@ -69,17 +72,17 @@ require_paths:
69
72
  - lib
70
73
  required_ruby_version: !ruby/object:Gem::Requirement
71
74
  requirements:
72
- - - '>='
75
+ - - ">="
73
76
  - !ruby/object:Gem::Version
74
77
  version: 1.9.1
75
78
  required_rubygems_version: !ruby/object:Gem::Requirement
76
79
  requirements:
77
- - - '>='
80
+ - - ">="
78
81
  - !ruby/object:Gem::Version
79
82
  version: '0'
80
83
  requirements: []
81
84
  rubyforge_project:
82
- rubygems_version: 2.0.14.1
85
+ rubygems_version: 2.5.2
83
86
  signing_key:
84
87
  specification_version: 4
85
88
  summary: Fluentd output plugin for Vertica using json parser.