fluent-plugin-sql 0.4.1 → 0.4.2

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: 5b788febd35e3e1fa29da04d73983bdc2af8f35e
4
- data.tar.gz: 5a15697f83fe24b1775028ab7b840c28979b63ed
3
+ metadata.gz: 5d35a1931fa076730bb3da90a4e9ae072e019866
4
+ data.tar.gz: cd00c52a1259ecd397f1ee9453d960453c12a384
5
5
  SHA512:
6
- metadata.gz: 24bb0cfd158c87f58f268de4e52c2c5f2f0c414f1659a7bd5d8a34f5c82b423cc4c779d3c08c2e58d280d87e8b4cebef19f0ae12800c12059fb6501dd615a581
7
- data.tar.gz: 2d95ea0967c93ed7e0c3aa1f89bce899f5ea004be0c903b25ee067b617fd523621bdc922250bb952843ce6c3a6891af1e82540f535a936433924f7eba8009854
6
+ metadata.gz: 0732e2114274d1fd02dcd9eefba2dc2a4ab3dce6f8991c515ecdff01cae00948fdf3ec1710e018b16c38ed87fc927cf57b5df30bab7829635f28febbbef523a7
7
+ data.tar.gz: 7e897e86da17c3d869557e463e03bd4d87919bc9178de0544d1d99f150a3cf3368fb9346ca9ba3c8c3b01348a2662e370e9d04cd77da42bd673dd499330fa24a
data/README.md CHANGED
@@ -109,24 +109,22 @@ This plugin takes advantage of ActiveRecord underneath. For `host`, `port`, `dat
109
109
  <table>
110
110
  table table1
111
111
  column_mapping 'timestamp:created_at,fluentdata1:dbcol1,fluentdata2:dbcol2,fluentdata3:dbcol3'
112
- # This is the default table because it has no "pattern" field
112
+ # This is the default table because it has no "pattern" argument in <table>
113
113
  # The logic is such that if all non-default <table> blocks
114
114
  # do not match, the default one is chosen.
115
115
  # The default table is required.
116
116
  </table>
117
117
 
118
- <table>
118
+ <table hello.*> # You can pass the same pattern you use in match statements.
119
119
  table table2
120
- pattern hello.* # You can pass the same pattern you use in match statements.
121
120
  # This is the non-default table. It is chosen if the tag matches the pattern
122
121
  # AFTER remove_tag_prefix is applied to the incoming event. For example, if
123
122
  # the message comes in with the tag my.rdb.hello.world, "remove_tag_prefix my.rdb"
124
123
  # makes it "hello.world", which gets matched here because of "pattern hello.*".
125
124
  </table>
126
125
 
127
- <table>
126
+ <table hello.world>
128
127
  table table3
129
- pattern hello.world
130
128
  # This is the second non-default table. You can have as many non-default tables
131
129
  # as you wish. One caveat: non-default tables are matched top-to-bottom and
132
130
  # the events go into the first table it matches to. Hence, this particular table
@@ -147,4 +145,4 @@ This plugin takes advantage of ActiveRecord underneath. For `host`, `port`, `dat
147
145
 
148
146
  * **table** RDBM table name
149
147
  * **column_mapping**: [Required] Record to table schema mapping. The format is consists of `from:to` or `key` values are separated by `,`. For example, if set 'item_id:id,item_text:data,updated_at' to **column_mapping**, `item_id` field of record is stored into `id` column and `updated_at` field of record is stored into `updated_at` column.
150
- * **pattern**: the pattern to which the incoming event's tag (after it goes through `remove_tag_prefix`, if given). The patterns should follow the same syntax as [that of <match>](http://docs.fluentd.org/articles/config-file#match-pattern-how-you-control-the-event-flow-inside-fluentd). **Exactly one <table> element must NOT have this parameter so that it becomes the default table to store data**.
148
+ * **<table pattern>**: the pattern to which the incoming event's tag (after it goes through `remove_tag_prefix`, if given). The patterns should follow the same syntax as [that of <match>](http://docs.fluentd.org/articles/config-file#match-pattern-how-you-control-the-event-flow-inside-fluentd). **Exactly one <table> element must NOT have this parameter so that it becomes the default table to store data**.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
@@ -27,7 +27,7 @@ module Fluent
27
27
  config_param :adapter, :string
28
28
  config_param :database, :string
29
29
  config_param :username, :string, :default => nil
30
- config_param :password, :string, :default => nil
30
+ config_param :password, :string, :default => nil, :secret => true
31
31
  config_param :socket, :string, :default => nil
32
32
 
33
33
  config_param :state_file, :string, :default => nil
@@ -9,7 +9,7 @@ module Fluent
9
9
  config_param :port, :integer, :default => nil
10
10
  config_param :adapter, :string
11
11
  config_param :username, :string, :default => nil
12
- config_param :password, :string, :default => nil
12
+ config_param :password, :string, :default => nil, :secret => true
13
13
  config_param :database, :string
14
14
  config_param :socket, :string, :default => nil
15
15
  config_param :remove_tag_prefix, :string, :default => nil
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-sql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-05 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd