This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'csv' | |
require 'optparse' | |
class AWSELBAccessLogParser | |
def initialize() | |
@@elb_access_log_format=%Q(timestamp elb client:port backend:port request_processing_time backend_processing_time response_processing_time elb_status_code backend_status_code received_bytes sent_bytes "request" "user_agent" ssl_cipher ssl_protocol) | |
# puts "elb_access_log_format is #{elb_access_log_format.split(" ")}" | |
@@line_regex = / |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
buildscript { | |
repositories { | |
mavenCentral() | |
maven { url 'http://maven.springframework.org/milestone' } | |
} | |
dependencies { | |
classpath 'org.cloudfoundry:cloudfoundry-client-lib:0.7.1' | |
} | |
} |