fluent-plugin-elb-log 0.2.2 → 0.2.3

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: ed0fefbb254815cbfe9465f9c9e77ab3c2b59c38
4
- data.tar.gz: 8c9a594c2ccdecbf81893ba06d3f86fad1079280
3
+ metadata.gz: 8505fd8d3dab7ede0df39bf90e12d8c9d8479a9a
4
+ data.tar.gz: cb06a0d72b0ffe6b32a8290d623f2cd6c1890a97
5
5
  SHA512:
6
- metadata.gz: f90a181731d71928fb365ed09a4464491997b9708315b18049113eb86148f88cff1aa8e26e56f4c1fcc5a7cb72a2a5cf08c15aa705fac78e5bbdc15edc5bbf33
7
- data.tar.gz: 6f9b1a5a645bba8921a97747c25d8915891b11b83c7d305a629163e14492f6879eeadf289702268e9a453e271ed0db9b0d5c47e90025f8ab44ebd5af202b354e
6
+ metadata.gz: 3ca2fcc0df10bc7225ee3b53c6a6a1fd5cb54f62e337c047242e2dfdea91f5569f9ce96770d4413d01557fd142c8c29ca710555f20140963844d0ec160b6845f
7
+ data.tar.gz: 6879b45cfeadfa57954775824996b897f32625b27aafce5b5084e146538355464c17e581f97a509f91ce105f6977ffe116b0c9c5780586413d85d60cb42a6a8c
@@ -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.2.2"
7
+ spec.version = "0.2.3"
8
8
  spec.authors = ["shinsaka"]
9
9
  spec.email = ["shinx1265@gmail.com"]
10
10
  spec.summary = "Amazon ELB log input plugin"
@@ -2,7 +2,7 @@ class Fluent::Elb_LogInput < Fluent::Input
2
2
  Fluent::Plugin.register_input('elb_log', self)
3
3
 
4
4
  LOGFILE_REGEXP = /^((?<prefix>.+?)\/|)AWSLogs\/(?<account_id>[0-9]{12})\/elasticloadbalancing\/(?<region>.+?)\/(?<logfile_date>[0-9]{4}\/[0-9]{2}\/[0-9]{2})\/[0-9]{12}_elasticloadbalancing_.+?_(?<logfile_elb_name>[^_]+)_(?<elb_timestamp>[0-9]{8}T[0-9]{4}Z)_(?<elb_ip_address>.+?)_(?<logfile_hash>.+)\.log$/
5
- ACCESSLOG_REGEXP = /^(?<time>\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{6}Z) (?<elb>.+?) (?<client>[^ ]+)\:(?<client_port>.+?) (?<backend>.+?)(\:(?<backend_port>.+?))? (?<request_processing_time>.+?) (?<backend_processing_time>.+?) (?<response_processing_time>.+?) (?<elb_status_code>.+?) (?<backend_status_code>.+?) (?<received_bytes>.+?) (?<sent_bytes>.+?) \"(?<request_method>.+?) (?<request_uri>.+?) (?<request_protocol>.+?)\"( \"(?<user_agent>.*?)\" (?<option1>.+?) (?<option2>.+)(| (?<option3>.*)))?/
5
+ ACCESSLOG_REGEXP = /^(?<time>\d{4}-\d{2}-\d{2}T\d{2}\:\d{2}\:\d{2}\.\d{6}Z) (?<elb>.+?) (?<client>[^ ]+)\:(?<client_port>.+?) (?<backend>.+?)(\:(?<backend_port>.+?))? (?<request_processing_time>.+?) (?<backend_processing_time>.+?) (?<response_processing_time>.+?) (?<elb_status_code>.+?) (?<backend_status_code>.+?) (?<received_bytes>.+?) (?<sent_bytes>.+?) \"(?<request_method>.+?) (?<request_uri>.+?) (?<request_protocol>.+?)\"( \"(?<user_agent>.*?)\" (?<ssl_cipher>.+?) (?<ssl_protocol>.+)(| (?<option3>.*)))?/
6
6
 
7
7
  config_param :access_key_id, :string, :default => nil
8
8
  config_param :secret_access_key, :string, :default => nil
@@ -243,8 +243,8 @@ class Fluent::Elb_LogInput < Fluent::Input
243
243
  "request_uri" => line_match[:request_uri],
244
244
  "request_protocol" => line_match[:request_protocol],
245
245
  "user_agent" => line_match[:user_agent],
246
- "option1" => line_match[:option1],
247
- "option2" => line_match[:option2],
246
+ "ssl_cipher" => line_match[:ssl_cipher],
247
+ "ssl_protocol" => line_match[:ssl_protocol],
248
248
  "option3" => line_match[:option3],
249
249
  }
250
250
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elb-log
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - shinsaka
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-30 00:00:00.000000000 Z
11
+ date: 2015-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fluentd
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project:
93
- rubygems_version: 2.2.1
93
+ rubygems_version: 2.4.5
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Amazon ELB log input plugin