fluent-plugin-cloudstack 0.0.9 → 0.1.0
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 +4 -4
- data/README.textile +4 -2
- data/VERSION +1 -1
- data/lib/fluent/plugin/in_cloudstack.rb +9 -9
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1812fc6dbf0444ed174e95b0196efa4cd2ad1d28
|
|
4
|
+
data.tar.gz: be664f8dfe00eedbb1c6cbe59153e0852338d781
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9b502e1ecaf5a67d2317f3003bbcad7a7f9bcac56d13239e5046a7822c285688fc4e1214987b7a2638606157010994c3fdc58b7bd43692c4c2fdee169e3a655b
|
|
7
|
+
data.tar.gz: c2c6be6088f7d65b837011b73e9f985848f3dbe32e5ea8c18143325af4e04be18698ba365cedcdf4348685e8fd48a0832c1b4c7734313f9a9065754543a5a4e7
|
data/README.textile
CHANGED
|
@@ -49,11 +49,13 @@ h2. Configuration
|
|
|
49
49
|
protocol $cloudstack_protocol_scheme # https or http, default https
|
|
50
50
|
path $cloudstack_path # default /client/api
|
|
51
51
|
port $cloudstack_port # default 443
|
|
52
|
-
interval $get_interval_sec #
|
|
52
|
+
interval $get_interval_sec # default 300, min 300(exclude debug_mode)
|
|
53
53
|
ssl $cloudtack_api_ssl # true or false, default true
|
|
54
54
|
domain_id $cloudstack_domain_id
|
|
55
|
-
|
|
56
55
|
tag $fluentd_tag # default cloudstack
|
|
56
|
+
|
|
57
|
+
# debug mode
|
|
58
|
+
debug_mode $boolean # default false
|
|
57
59
|
</source>
|
|
58
60
|
</pre>
|
|
59
61
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0
|
|
1
|
+
0.1.0
|
|
@@ -5,17 +5,17 @@ module Fluent
|
|
|
5
5
|
INTERVAL_MIN = 300
|
|
6
6
|
|
|
7
7
|
config_param :host
|
|
8
|
-
config_param :path, :default =>'/client/api'
|
|
9
|
-
config_param :protocol, :default =>'https'
|
|
10
|
-
config_param :port, :default =>443
|
|
11
8
|
config_param :apikey
|
|
12
9
|
config_param :secretkey
|
|
13
|
-
config_param :domain_id, :default => nil
|
|
14
|
-
config_param :interval, :default => INTERVAL_MIN
|
|
15
10
|
|
|
16
|
-
config_param :
|
|
17
|
-
config_param :
|
|
18
|
-
config_param :
|
|
11
|
+
config_param :path, :default => '/client/api'
|
|
12
|
+
config_param :protocol, :default => 'https'
|
|
13
|
+
config_param :port, :default => 443
|
|
14
|
+
config_param :domain_id, :default => nil
|
|
15
|
+
config_param :tag, :default => "cloudstack"
|
|
16
|
+
config_param :ssl, :default => true
|
|
17
|
+
config_param :debug_mode, :default => false
|
|
18
|
+
config_param :interval, :default => INTERVAL_MIN
|
|
19
19
|
|
|
20
20
|
attr_writer :before_events
|
|
21
21
|
|
|
@@ -190,7 +190,7 @@ module Fluent
|
|
|
190
190
|
end
|
|
191
191
|
|
|
192
192
|
def cs
|
|
193
|
-
|
|
193
|
+
@cs ||= Fog::Compute.new(
|
|
194
194
|
:provider => 'CloudStack',
|
|
195
195
|
:cloudstack_api_key => @apikey,
|
|
196
196
|
:cloudstack_secret_access_key => @secretkey,
|