fluent-plugin-documentdb 0.1.0 → 0.1.1

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: c5375880e41484be5127754939a3736a8a44934f
4
- data.tar.gz: e3b77ac772bd4c9412f1dcbe8e7e8ae303ef56a8
3
+ metadata.gz: 78a09c5a446afe0f0e90b9e1237c763ac14455a2
4
+ data.tar.gz: 59ac2c90cb4119f19d0fc5ec4eca03328a84de42
5
5
  SHA512:
6
- metadata.gz: 158abf1a4d9f30ba97e9ec0edf63c7a18a57979637f73a6279c4b43858de778af918eaa3c51886026f849d2989ccdf4f026e15a9cf203736196bf2ad9bbbdfdc
7
- data.tar.gz: e7da026710ded4cdda4cbc06221d4b8108163c4614d0b081dc6cabfc7fb9b8503d246295ceac8b7e249619da495abc87ca87390ece2a163c3043a5e9ea3b748a
6
+ metadata.gz: f90421e2d947317d7af86c1664458d7ac5930cc208fdcddd6256ee7e55f2dd1c2f43970c817e3890bc25c740b325835f29441cf5b453ec9b5b8c821fdad051c7
7
+ data.tar.gz: 7ef107ba82045b0fa279c15f6587c1bb550a98acb016e8d0993758adbc668c7b2c75cdfc36cb10ad543b71e8e4c03523f4df734b18c7cabe9f738fe9f84babde
data/README.md CHANGED
@@ -25,6 +25,8 @@ To use Microsoft Azure DocumentDB, you must create a DocumentDB database account
25
25
  docdb_account_key DOCUMENTDB_ACCOUNT_KEY
26
26
  docdb_database mydb
27
27
  docdb_collection mycollection
28
+ auto_create_database true
29
+ auto_create_collection true
28
30
  time_format %s
29
31
  localtime false
30
32
  add_time_field true
@@ -35,8 +37,10 @@ To use Microsoft Azure DocumentDB, you must create a DocumentDB database account
35
37
 
36
38
  * **docdb\_endpoint (required)** - Azure DocumentDB Account endpoint URI
37
39
  * **docdb\_account\_key (required)** - Azure DocumentDB Account key (master key). You must NOT set a read-only key
38
- * **docdb\_database (required)** - DocumentDB database name
40
+ * **docdb\_database (required)** - DocumentDB database nameb
39
41
  * **docdb\_collection (required)** - DocumentDB collection name
42
+ * **auto\_create\_database (optional)** - Default:true. By default, DocumentDB database named **docdb\_database** will be automatically created if it does not exist
43
+ * **auto\_create\_collection (optional)** - Default:true. By default, DocumentDB collection named **docdb\_collection** will be automatically created if it does not exist
40
44
  * **localtime (optional)** - Default:false. By default, time record is inserted with UTC (Coordinated Universal Time). This option allows to use local time if you set localtime true
41
45
  * **time\_format (optional)** - Default:%s. Time format for a time field to be inserted. Default format is %s, that is unix epoch time. If you want it to be more human readable, set this %Y%m%d-%H:%M:%S, for example.
42
46
  * **add\_time\_field (optional)** - Default:true. This option allows to insert a time field to record
@@ -110,7 +114,7 @@ An expected output record for sample input will be like this:
110
114
  $ rake build
111
115
  $ rake install:local
112
116
 
113
- # funning fluentd with your fluent.conf
117
+ # running fluentd with your fluent.conf
114
118
  $ fluentd -c fluent.conf -vv &
115
119
 
116
120
  # send test apache requests for testing plugin ( only in the case that input source is apache access log )
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -13,7 +13,7 @@ module Fluent
13
13
  end
14
14
 
15
15
  config_param :docdb_endpoint, :string
16
- config_param :docdb_account_key, :string
16
+ config_param :docdb_account_key, :string, :secret => true
17
17
  config_param :docdb_database, :string
18
18
  config_param :docdb_collection, :string
19
19
  config_param :auto_create_database, :bool, :default => true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-documentdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoichi Kawasaki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-17 00:00:00.000000000 Z
11
+ date: 2016-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler