WEBLOG SSL


This script gets the /etc/httpd/logs/access_log.txt and parses the first one in the list

example; 127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326

Fields; ip address identifier client day month year hour minute second t-zone target status file-size

based upon the command-line options -a -n -p -r -s -t -i

options; one-report client-name prefix one_ref substring extension filename

default is -p -r -s
-p-r-s ok-r target.*.*.*\..txt regex\.\*\.\*\.\*\\\.\.txt
ip 66.102.15.255
gdkclientfrank[10/Oct/2000:13:55:36-0700]'GET/apache_pb.gifHTTP/1.0'2002326 id -
client frank
gdk1client[10/Oct/2000:13:55:36-0700]'GET/apache_pb.gifHTTP/1.0'2002326
date [10/Oct/2000:13:55:36-0700]
day 10

gdk2day[Oct/2000:13:55:36-0700]'GET/apache_pb.gifHTTP/1.0'2002326 day 10
gdk2mon[2000:13:55:36-0700]'GET/apache_pb.gifHTTP/1.0'2002326 mon Oct
gdk3year[13:55:36-0700]'GET/apache_pb.gifHTTP/1.0'2002326 year 2000
gdk4hh[55:36-0700]'GET/apache_pb.gifHTTP/1.0'2002326 hh 13
gdk5mm[36-0700]'GET/apache_pb.gifHTTP/1.0'2002326 mm 55
gdk5ss[0700]'GET/apache_pb.gifHTTP/1.0'2002326 ss 36
gdk9tg[0700]'GET/apache_pb.gifHTTP/1.0'2002326 tg "GET/apache_pb.gif HTTP/1.0"

66.102.15.255 - frank [10/Oct/2000:13:55:36 -0700] "GET /apache_pb.gif HTTP/1.0" 200 2326
frank
"GET/apache_pb.gif HTTP/1.0"
66.102.15.255-frank[10/Oct/2000:13:55:36-0700]"GET/apache_pb.gifHTTP/1.0"2002326
gdk 200/2326

outline1 processed a "GET/apache_pb.gif HTTP/1.0" at 1:55:36 PM Oct 10, 2000 to frank at ip 66.102.15.255 using identity - got status/filesize 200/2326
hostname 255.15.102.66.bc.googleusercontent.com from 66.102.15.255
Host name is 255.15.102.66.bc.googleusercontent.com Aliases is Addrtype is 2 Length is 4 Addrs array is Bfÿ