Sha256: 8941a7555883f970c4c4c30b38a0c8dc8a2bffab207cfb20d61cb9e40385b8af

Contents?: true

Size: 497 Bytes

Versions: 3

Compression:

Stored size: 497 Bytes

Contents

# Apache log analysis
#
# example target data:
#   127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326
#   127.0.0.1 - frank2 [10/Oct/2000:13:55:36 -0700] "GET /apache_pb2.gif HTTP/1.0" 200 2326
#   127.0.0.1 - frank2 [10/Oct/2000:13:55:36 -0700] "GET /apache_pb3.gif HTTP/1.0" 404 2326

use 'LogAnalysis'

data.pattern /(.*) (.*) (.*) (\[.*\]) (".*") (\d*) (\d*)/
column[2].count_uniq
column[3].count_uniq
column[4].count_uniq
column[5].count_uniq
column[6].sum

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hadoop-rubydsl-0.0.3 examples/apachelog.rb
hadoop-rubydsl-0.0.2 examples/apachelog.rb
hadoop-rubydsl-0.0.1 examples/apachelog.rb