fluent-plugin-elb-log 0.1.3 → 0.1.4

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.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-elb-log"
7
- spec.version = "0.1.3"
7
+ spec.version = "0.1.4"
8
8
  spec.authors = ["shinsaka"]
9
9
  spec.email = ["shinx1265@gmail.com"]
10
10
  spec.summary = "Amazon ELB log input plugin"
@@ -12,6 +12,7 @@ class Fluent::Elb_LogInput < Fluent::Input
12
12
  config_param :timestamp_file, :string, :default => nil
13
13
  config_param :refresh_interval, :integer, :default => 300
14
14
  config_param :buf_file, :string, :default => './fluentd_elb_log_buf_file'
15
+ config_param :proxy_uri, :string, :default => nil
15
16
 
16
17
  def configure(conf)
17
18
  super
@@ -58,6 +59,9 @@ class Fluent::Elb_LogInput < Fluent::Input
58
59
  options[:secret_access_key] = @secret_access_key
59
60
  end
60
61
  options[:s3_endpoint] = @s3_endpoint if @s3_endpoint
62
+ if @proxy_uri
63
+ options[:proxy_uri] = @proxy_uri
64
+ end
61
65
 
62
66
  begin
63
67
  @bucket = AWS::S3.new(options).buckets[@s3_bucketname]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elb-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-24 00:00:00.000000000 Z
12
+ date: 2015-04-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd