fluent-plugin-mysql 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +3 -3
- data/fluent-plugin-mysql.gemspec +1 -3
- metadata +11 -49
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 17d32ebee1a6a374ae625315b8d74209e11a225d
|
4
|
+
data.tar.gz: 8c9f7169a9637fb2232fee62e4ddae168ad963d5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7612ad9d0914574b9a8e49d483bac4f5d2150ef4247a6642375e96b4b9a807edfed8da4c45ae21944a4bfe789359105deba349b713c33b775e24d3fbe5894c21
|
7
|
+
data.tar.gz: 5eb7c241f74fd2c6412e13368fd7041ede9bde7c2e1b564a8d016e093d60f7797cf8ea9c9006970a8cbe99f47534d6a3c587fb6878fd48bfdda51089d21b7f30
|
data/README.md
CHANGED
@@ -21,7 +21,7 @@ MysqlOutput needs MySQL server's host/port/database/username/password, and INSER
|
|
21
21
|
password mypass
|
22
22
|
key_names status,bytes,vhost,path,rhost,agent,referer
|
23
23
|
sql INSERT INTO accesslog (status,bytes,vhost,path,rhost,agent,referer) VALUES (?,?,?,?,?,?,?)
|
24
|
-
|
24
|
+
flush_interval 5s
|
25
25
|
</match>
|
26
26
|
|
27
27
|
<match output.by.names.*>
|
@@ -34,7 +34,7 @@ MysqlOutput needs MySQL server's host/port/database/username/password, and INSER
|
|
34
34
|
table accesslog
|
35
35
|
# 'columns' names order must be same with 'key_names'
|
36
36
|
columns status,bytes,vhost,path,rhost,agent,referer
|
37
|
-
|
37
|
+
flush_interval 5s
|
38
38
|
</match>
|
39
39
|
|
40
40
|
Or, insert json into single column.
|
@@ -47,7 +47,7 @@ Or, insert json into single column.
|
|
47
47
|
table accesslog
|
48
48
|
columns jsondata
|
49
49
|
format json
|
50
|
-
|
50
|
+
flush_interval 5s
|
51
51
|
</match>
|
52
52
|
|
53
53
|
To include time/tag into output, use `include_time_key` and `include_tag_key`, like this:
|
data/fluent-plugin-mysql.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
Gem::Specification.new do |gem|
|
3
3
|
gem.name = "fluent-plugin-mysql"
|
4
|
-
gem.version = "0.0.
|
4
|
+
gem.version = "0.0.4"
|
5
5
|
gem.authors = ["TAGOMORI Satoshi"]
|
6
6
|
gem.email = ["tagomoris@gmail.com"]
|
7
7
|
gem.description = %q{fluent plugin to insert mysql as json(single column) or insert statement}
|
@@ -13,8 +13,6 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.require_paths = ["lib"]
|
15
15
|
|
16
|
-
gem.add_development_dependency "fluentd"
|
17
|
-
gem.add_development_dependency "mysql2-cs-bind"
|
18
16
|
gem.add_runtime_dependency "fluentd"
|
19
17
|
gem.add_runtime_dependency "mysql2-cs-bind"
|
20
18
|
end
|
metadata
CHANGED
@@ -1,78 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-mysql
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- TAGOMORI Satoshi
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-04-08 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: fluentd
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '0'
|
22
|
-
type: :development
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
30
|
-
- !ruby/object:Gem::Dependency
|
31
|
-
name: mysql2-cs-bind
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :development
|
39
|
-
prerelease: false
|
40
|
-
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: fluentd
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
17
|
+
- - '>='
|
52
18
|
- !ruby/object:Gem::Version
|
53
19
|
version: '0'
|
54
20
|
type: :runtime
|
55
21
|
prerelease: false
|
56
22
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
23
|
requirements:
|
59
|
-
- -
|
24
|
+
- - '>='
|
60
25
|
- !ruby/object:Gem::Version
|
61
26
|
version: '0'
|
62
27
|
- !ruby/object:Gem::Dependency
|
63
28
|
name: mysql2-cs-bind
|
64
29
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
30
|
requirements:
|
67
|
-
- -
|
31
|
+
- - '>='
|
68
32
|
- !ruby/object:Gem::Version
|
69
33
|
version: '0'
|
70
34
|
type: :runtime
|
71
35
|
prerelease: false
|
72
36
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
37
|
requirements:
|
75
|
-
- -
|
38
|
+
- - '>='
|
76
39
|
- !ruby/object:Gem::Version
|
77
40
|
version: '0'
|
78
41
|
description: fluent plugin to insert mysql as json(single column) or insert statement
|
@@ -93,27 +56,26 @@ files:
|
|
93
56
|
- test/plugin/test_out_mysql.rb
|
94
57
|
homepage: https://github.com/tagomoris/fluent-plugin-mysql
|
95
58
|
licenses: []
|
59
|
+
metadata: {}
|
96
60
|
post_install_message:
|
97
61
|
rdoc_options: []
|
98
62
|
require_paths:
|
99
63
|
- lib
|
100
64
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
-
none: false
|
102
65
|
requirements:
|
103
|
-
- -
|
66
|
+
- - '>='
|
104
67
|
- !ruby/object:Gem::Version
|
105
68
|
version: '0'
|
106
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
107
|
-
none: false
|
108
70
|
requirements:
|
109
|
-
- -
|
71
|
+
- - '>='
|
110
72
|
- !ruby/object:Gem::Version
|
111
73
|
version: '0'
|
112
74
|
requirements: []
|
113
75
|
rubyforge_project:
|
114
|
-
rubygems_version:
|
76
|
+
rubygems_version: 2.0.0
|
115
77
|
signing_key:
|
116
|
-
specification_version:
|
78
|
+
specification_version: 4
|
117
79
|
summary: fluent plugin to insert mysql
|
118
80
|
test_files:
|
119
81
|
- test/helper.rb
|