Skip to content

Instantly share code, notes, and snippets.

View lnramirez's full-sized avatar

Luis Ramirez Monterosa lnramirez

View GitHub Profile
@jibing57
jibing57 / aws_elb_access_log_parser.rb
Last active May 26, 2020 18:27
a simple ruby script to parse aws elb access log to csv format file
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 = /
@scothis
scothis / gist:1760342
Created February 7, 2012 15:49
Quick and dirty Gradle task for deploying Cloud Foundry
buildscript {
repositories {
mavenCentral()
maven { url 'http://maven.springframework.org/milestone' }
}
dependencies {
classpath 'org.cloudfoundry:cloudfoundry-client-lib:0.7.1'
}
}