fluent-plugin-influxdb 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/History.md +6 -0
- data/README.md +3 -0
- data/fluent-plugin-influxdb.gemspec +2 -2
- data/lib/fluent/plugin/out_influxdb.rb +4 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d29189e3d13c3822ad348aa22aebcea9fd3186a0
|
4
|
+
data.tar.gz: 54274d0cd3a802144c680c2236e91f5b5bb12f9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2011f8c861e6112cb2d87f661cbcdfcf8b57c35669ae51edc40c42859d03f51dc51b546a018f989882c411d797690b6bc9cba1129da6584718063b2e1cab130
|
7
|
+
data.tar.gz: 0704adf0a9057025f526d2cfe2b21b00d0d7c8b51db0df36d22c2666501de3c05a333514cec13636493c5b36b1b2b7f4e437cc6906c900931ec5b998c7224811
|
data/History.md
CHANGED
data/README.md
CHANGED
@@ -27,6 +27,8 @@ Just like other regular output plugins, Use type `influxdb` in your fluentd conf
|
|
27
27
|
`user`: The DB user of influxDB, should be created manually, default to "root"
|
28
28
|
|
29
29
|
`password`: The password of the user, default to "root"
|
30
|
+
|
31
|
+
`use_ssl`: Use SSL when connecting to influxDB. default to false
|
30
32
|
|
31
33
|
`time_precision`: The time precision of timestamp. default to "s". should specify either second (s), millisecond (m), or microsecond (u)
|
32
34
|
|
@@ -43,6 +45,7 @@ Just like other regular output plugins, Use type `influxdb` in your fluentd conf
|
|
43
45
|
dbname test
|
44
46
|
user testuser
|
45
47
|
password mypwd
|
48
|
+
use_ssl false
|
46
49
|
time_precision s
|
47
50
|
</match>
|
48
51
|
```
|
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "fluent-plugin-influxdb"
|
6
|
-
s.version = '0.1.
|
6
|
+
s.version = '0.1.4'
|
7
7
|
s.authors = ["Masahiro Nakagawa", "FangLi"]
|
8
8
|
s.email = ["repeatedly@gmail.com", "surivlee@gmail.com"]
|
9
9
|
s.description = %q{InfluxDB output plugin for Fluentd}
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.require_paths = ["lib"]
|
18
18
|
|
19
19
|
s.add_runtime_dependency "fluentd"
|
20
|
+
s.add_runtime_dependency "influxdb"
|
20
21
|
|
21
22
|
s.add_development_dependency "rake"
|
22
|
-
s.add_development_dependency "influxdb"
|
23
23
|
end
|
@@ -11,6 +11,7 @@ class Fluent::InfluxdbOutput < Fluent::BufferedOutput
|
|
11
11
|
config_param :user, :string, :default => 'root'
|
12
12
|
config_param :password, :string, :default => 'root'
|
13
13
|
config_param :time_precision, :string, :default => 's'
|
14
|
+
config_param :use_ssl, :bool, :default => false
|
14
15
|
|
15
16
|
|
16
17
|
def initialize
|
@@ -24,8 +25,9 @@ class Fluent::InfluxdbOutput < Fluent::BufferedOutput
|
|
24
25
|
username: @user,
|
25
26
|
password: @password,
|
26
27
|
async: false,
|
27
|
-
time_precision: @time_precision
|
28
|
-
|
28
|
+
time_precision: @time_precision,
|
29
|
+
use_ssl: @use_ssl
|
30
|
+
|
29
31
|
end
|
30
32
|
|
31
33
|
def start
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-influxdb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masahiro Nakagawa
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fluentd
|
@@ -26,13 +26,13 @@ dependencies:
|
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
|
-
name:
|
29
|
+
name: influxdb
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
32
|
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
|
-
type: :
|
35
|
+
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
@@ -40,7 +40,7 @@ dependencies:
|
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
|
-
name:
|
43
|
+
name: rake
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - ">="
|