elb2logstalgia 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 94207b8f53a3b2447d2b22395ef3821595d1a8be
4
+ data.tar.gz: 6eb497b110b05c25dd4f02c49f7a9955efa10d31
5
+ SHA512:
6
+ metadata.gz: 83f6cd5f8d60c03f3cb7dfb838a6ede7f7eb16460d017a339bc69816b1ba3f10b60bbf7e5da4afb98ad40245b4aa139a67a2b3ef7525aff8cbd00cb4146f9eb0
7
+ data.tar.gz: 0801a62ae1fd3feba54cc31579154a8c76fc2f18647f84123464fb54effac5ffebbdd8c21cbb0785840a0eba22d6f05a06a533f229802cecacf1141bd32cc303
@@ -0,0 +1,10 @@
1
+ engines:
2
+ duplication:
3
+ enabled: true
4
+ config:
5
+ languages:
6
+ - ruby
7
+ rubocop:
8
+ enabled: true
9
+ exclude_fingerprints:
10
+ - 27dd2a9fc05d94c34cc69ba09f59a413
@@ -0,0 +1,10 @@
1
+ /.bundle/
2
+ /.rake_t_cache
3
+ /.yardoc
4
+ /Gemfile.lock
5
+ /_yardoc/
6
+ /coverage/
7
+ /doc/
8
+ /pkg/
9
+ /spec/reports/
10
+ /tmp/
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ before_install: gem install bundler -v 1.11.2
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at steve.huff@runkeeper.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in elb2logstalgia.gemspec
4
+ gemspec
5
+
6
+ # irbtools is special
7
+ group :development do
8
+ gem 'irbtools-more', require: 'irbtools/binding'
9
+ end
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Steve Huff
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,21 @@
1
+ # Elb2Logstalgia [![Code Climate](https://codeclimate.com/github/hakamadare/elb2logstalgia/badges/gpa.svg)](https://codeclimate.com/github/hakamadare/elb2logstalgia)
2
+
3
+ [Logstalgia](http://logstalgia.io/) is a spectacular realtime visualisation tool for web application access logs. This tool ingests Amazon Web Services Elastic Load Balancing [access logs](http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/access-log-collection.html) and emits log entries formatted according to Logstalgia's custom log format.
4
+
5
+ ## Installation
6
+
7
+ $ gem install elb2logstalgia
8
+
9
+ ## Usage
10
+
11
+ $ cat some_elb_logfile.log | e2l | logstalgia -
12
+
13
+ ## Contributing
14
+
15
+ Bug reports and pull requests are welcome on GitHub at https://github.com/hakamadare/elb2logstalgia. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
16
+
17
+
18
+ ## License
19
+
20
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
21
+
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "elb2logstalgia"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/e2l ADDED
@@ -0,0 +1,42 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "elb2logstalgia"
5
+
6
+ require 'methadone'
7
+
8
+ include Methadone::Main
9
+ include Methadone::CLILogging
10
+
11
+ include Elb2Logstalgia
12
+
13
+ main do
14
+ begin
15
+ while line = gets
16
+ $stderr.puts line.chomp if options[:verbose]
17
+
18
+ entry = Elb2Logstalgia::Entry.new(parseLine(line))
19
+
20
+ puts entry.output
21
+ end
22
+
23
+ rescue Interrupt => e
24
+ raise "Keyboard interrupt, exiting."
25
+ rescue StandardError => e
26
+ raise e
27
+ end
28
+ end
29
+
30
+ version Elb2Logstalgia::VERSION
31
+ description <<-DESCRIPTION.gsub(/^ {2}/,'')
32
+ Logstalgia (http://logstalgia.io) is a spectacular realtime visualisation
33
+ tool for web application access logs. This tool ingests Amazon Web Services
34
+ Elastic Load Balancing access logs and emits log entries formatted according
35
+ to Logstalgia's custom log format.
36
+
37
+ Usage:
38
+
39
+ $ cat some_elb_access_log.log | e2l | logstalgia -
40
+ DESCRIPTION
41
+
42
+ go!
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,30 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'elb2logstalgia/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "elb2logstalgia"
8
+ spec.version = Elb2Logstalgia::VERSION
9
+ spec.authors = ["Steve Huff"]
10
+ spec.email = ["shuff@vecna.org"]
11
+
12
+ spec.summary = %q{Translate AWS ELB logs to Logstalgia custom format.}
13
+ spec.homepage = %q{https://github.com/hakamadare/elb2logstalgia}
14
+ spec.license = "MIT"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "bin"
18
+ spec.executables = "e2l"
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.11"
22
+ spec.add_development_dependency "irbtools", "~> 2.0"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec", "~> 3.0"
25
+
26
+ spec.add_development_dependency "hashie", "~> 3.4"
27
+ spec.add_development_dependency "methadone", "~> 1.9"
28
+ spec.add_development_dependency "timeliness", "~> 0.3"
29
+
30
+ end
@@ -0,0 +1,57 @@
1
+ require "strscan"
2
+
3
+ require "elb2logstalgia/entry"
4
+ require "elb2logstalgia/types"
5
+ require "elb2logstalgia/version"
6
+
7
+ module Elb2Logstalgia
8
+ def parseLine(line)
9
+ begin
10
+ s = StringScanner.new(line)
11
+
12
+ parsed = {}
13
+
14
+ # timestamp
15
+ parsed[:timestamp] = s.scan(/\S+/)
16
+ s.scan(/\s+/)
17
+
18
+ # hostname
19
+ s.scan(/\S+\s+/)
20
+
21
+ # source IP
22
+ parsed[:hostname] = s.scan(/\S+:/).chop
23
+ s.scan(/\S+\s+/)
24
+
25
+ # dest IP
26
+ s.scan(/\S+\s+/)
27
+
28
+ # timing data
29
+ s.scan(/(\S+\s+){3}/)
30
+
31
+ # ELB response code
32
+ s.scan(/\S+\s+/)
33
+
34
+ # backend response code
35
+ parsed[:response_code] = s.scan(/\S+/)
36
+ s.scan(/\s+/)
37
+
38
+ # ELB response size
39
+ s.scan(/\S+\s+/)
40
+
41
+ # backend response size
42
+ parsed[:response_size] = s.scan(/\S+/)
43
+ s.scan(/\s+/)
44
+
45
+ # method
46
+ s.scan(/\S+\s+/)
47
+
48
+ # path
49
+ parsed[:path] = s.scan(/\S+/)
50
+
51
+ parsed
52
+
53
+ rescue StandardError => e
54
+ raise e
55
+ end
56
+ end
57
+ end
@@ -0,0 +1,90 @@
1
+ require 'elb2logstalgia'
2
+ require 'elb2logstalgia/types'
3
+
4
+ require 'hashie'
5
+ require 'strscan'
6
+
7
+ module Elb2Logstalgia
8
+ class Entry < Hashie::Dash
9
+ include Hashie::Extensions::IndifferentAccess
10
+ include Hashie::Extensions::KeyConversion
11
+ include Hashie::Extensions::MergeInitializer
12
+ include Hashie::Extensions::MethodAccess
13
+ include Hashie::Extensions::Dash::Coercion
14
+
15
+ property :timestamp, coerce: Elb2Logstalgia::Types::Timestamp
16
+ property :hostname, coerce: Elb2Logstalgia::Types::Hostname
17
+ property :path, coerce: Elb2Logstalgia::Types::Path
18
+ property :response_code, coerce: Elb2Logstalgia::Types::ResponseCode
19
+ property :response_size, coerce: Elb2Logstalgia::Types::ResponseSize
20
+
21
+ property :success, coerce: Elb2Logstalgia::Types::Success
22
+ property :response_color, coerce: Elb2Logstalgia::Types::ResponseColor
23
+ property :referrer_url, coerce: Elb2Logstalgia::Types::ReferrerUrl
24
+ property :user_agent, coerce: Elb2Logstalgia::Types::UserAgent
25
+ property :virtual_host, coerce: Elb2Logstalgia::Types::VirtualHost
26
+ property :pid, coerce: Elb2Logstalgia::Types::Pid
27
+
28
+ def initialize(*args, &block)
29
+ begin
30
+ keys = [
31
+ :timestamp,
32
+ :hostname,
33
+ :path,
34
+ :response_code,
35
+ :response_size,
36
+ :success,
37
+ :response_color,
38
+ :referrer_url,
39
+ :user_agent,
40
+ :virtual_host,
41
+ :pid,
42
+ ]
43
+
44
+ params_hash = {}
45
+
46
+ input = *args[0]
47
+
48
+ input.each do |pair|
49
+ k = pair[0]
50
+ v = pair[1]
51
+ params_hash[k] = v
52
+ end
53
+
54
+ # now we can derive some additional values
55
+ derived_params = _deriveParams(params_hash)
56
+
57
+ super(derived_params)
58
+
59
+ rescue StandardError => e
60
+ raise e
61
+ end
62
+ end
63
+
64
+ def output
65
+ fields = [
66
+ :timestamp,
67
+ :hostname,
68
+ :path,
69
+ :response_code,
70
+ :response_size,
71
+ :success,
72
+ ]
73
+
74
+ fields.map {|x| self.fetch(x).to_s}.join('|')
75
+ end
76
+
77
+ private
78
+
79
+ def _deriveParams(params)
80
+ input = Hashie::Mash.new(params)
81
+ derived = Hashie::Mash.new
82
+
83
+ # calculate success from response code
84
+ derived.success = input.response_code.to_i < 400 ? 1 : 0
85
+
86
+ derived.merge(input)
87
+ end
88
+
89
+ end
90
+ end
@@ -0,0 +1,18 @@
1
+ require 'elb2logstalgia'
2
+
3
+ require 'elb2logstalgia/types/timestamp'
4
+ require 'elb2logstalgia/types/hostname'
5
+ require 'elb2logstalgia/types/path'
6
+ require 'elb2logstalgia/types/response_code'
7
+ require 'elb2logstalgia/types/response_size'
8
+ require 'elb2logstalgia/types/success'
9
+ require 'elb2logstalgia/types/response_color'
10
+ require 'elb2logstalgia/types/referrer_url'
11
+ require 'elb2logstalgia/types/user_agent'
12
+ require 'elb2logstalgia/types/virtual_host'
13
+ require 'elb2logstalgia/types/pid'
14
+
15
+ module Elb2Logstalgia
16
+ module Types
17
+ end
18
+ end
@@ -0,0 +1,25 @@
1
+ require 'ipaddr'
2
+
3
+ module Elb2Logstalgia
4
+ module Types
5
+ class Hostname
6
+ attr_reader :parsed
7
+
8
+ def initialize(*args, &block)
9
+ begin
10
+ @parsed = IPAddr.new(*args)
11
+
12
+ rescue InvalidAddressError => e
13
+ @parsed = *args
14
+
15
+ rescue StandardError => e
16
+ raise e
17
+ end
18
+ end
19
+
20
+ def to_s
21
+ self.parsed.to_s
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class Path
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class Pid
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class ReferrerUrl
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class ResponseCode
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class ResponseColor
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class ResponseSize
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class Success
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args[0].to_s)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,31 @@
1
+ require 'timeliness'
2
+
3
+ module Elb2Logstalgia
4
+ module Types
5
+ class Timestamp
6
+ attr_reader :parsed
7
+
8
+ ELB_TIMESTAMP_FORMAT = 'yyyy-mm-ddThh:nn:ss.uZ'
9
+
10
+ def initialize(*args, &block)
11
+ begin
12
+ @parsed = Timeliness.parse(*args, :format => ELB_TIMESTAMP_FORMAT)
13
+ rescue StandardError => e
14
+ raise e
15
+ end
16
+ end
17
+
18
+ def to_epoch
19
+ begin
20
+ self.parsed.to_time.to_i
21
+
22
+ rescue StandardError => e
23
+ raise e
24
+ end
25
+ end
26
+
27
+ alias_method :to_s, :to_epoch
28
+
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class UserAgent
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,20 @@
1
+ module Elb2Logstalgia
2
+ module Types
3
+ class VirtualHost
4
+ attr_reader :parsed
5
+
6
+ def initialize(*args, &block)
7
+ begin
8
+ @parsed = String.new(*args)
9
+
10
+ rescue StandardError => e
11
+ raise e
12
+ end
13
+ end
14
+
15
+ def to_s
16
+ self.parsed.to_s
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,3 @@
1
+ module Elb2Logstalgia
2
+ VERSION = "1.0.2"
3
+ end
metadata ADDED
@@ -0,0 +1,171 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: elb2logstalgia
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.2
5
+ platform: ruby
6
+ authors:
7
+ - Steve Huff
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2016-02-24 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: irbtools
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '10.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '10.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: hashie
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '3.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '3.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: methadone
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ~>
88
+ - !ruby/object:Gem::Version
89
+ version: '1.9'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '1.9'
97
+ - !ruby/object:Gem::Dependency
98
+ name: timeliness
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ~>
102
+ - !ruby/object:Gem::Version
103
+ version: '0.3'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '0.3'
111
+ description:
112
+ email:
113
+ - shuff@vecna.org
114
+ executables:
115
+ - e2l
116
+ extensions: []
117
+ extra_rdoc_files: []
118
+ files:
119
+ - .codeclimate.yml
120
+ - .gitignore
121
+ - .rspec
122
+ - .travis.yml
123
+ - CODE_OF_CONDUCT.md
124
+ - Gemfile
125
+ - LICENSE.txt
126
+ - README.md
127
+ - Rakefile
128
+ - bin/console
129
+ - bin/e2l
130
+ - bin/setup
131
+ - elb2logstalgia.gemspec
132
+ - lib/elb2logstalgia.rb
133
+ - lib/elb2logstalgia/entry.rb
134
+ - lib/elb2logstalgia/types.rb
135
+ - lib/elb2logstalgia/types/hostname.rb
136
+ - lib/elb2logstalgia/types/path.rb
137
+ - lib/elb2logstalgia/types/pid.rb
138
+ - lib/elb2logstalgia/types/referrer_url.rb
139
+ - lib/elb2logstalgia/types/response_code.rb
140
+ - lib/elb2logstalgia/types/response_color.rb
141
+ - lib/elb2logstalgia/types/response_size.rb
142
+ - lib/elb2logstalgia/types/success.rb
143
+ - lib/elb2logstalgia/types/timestamp.rb
144
+ - lib/elb2logstalgia/types/user_agent.rb
145
+ - lib/elb2logstalgia/types/virtual_host.rb
146
+ - lib/elb2logstalgia/version.rb
147
+ homepage: https://github.com/hakamadare/elb2logstalgia
148
+ licenses:
149
+ - MIT
150
+ metadata: {}
151
+ post_install_message:
152
+ rdoc_options: []
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - '>='
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ requirements: []
166
+ rubyforge_project:
167
+ rubygems_version: 2.0.14
168
+ signing_key:
169
+ specification_version: 4
170
+ summary: Translate AWS ELB logs to Logstalgia custom format.
171
+ test_files: []