Bad Penguin Logo
Advertisement

Apache (NCSA) Visitor statistics PDF Print E-mail
 

By TuxInvader, on 08-11-2006 19:00

Views : 1711

Published in : Technology, Networking

I've been looking through some old files and I found this log analysis script kicking around. It's really simple and outputs the total hits and unique hits (visitors) per day as read from a NCSA format log file. Thought I would post it here for posterity.
 
This really is first exercise in "bash for dummies" type stuff though ;p 
 
Not that I have that book or even know if it exists?
 
loganalysis.sh 
 
==> Download loganalysis.sh
 
License: GPL Version 2
Copyright: Mark Boddington (C) 2004
 
mark@boxen:~$ ./loganalysis.sh
./loganalysis.sh Usage:

This script takes a NCSA standard transfer log and displays the total number of hits
for each day included in the logfile.
Output is tab delimited by default, you can use -c to get comma delimitation.

./loganalysis.sh [-c] <Log file>
 
 

Last update : 09-11-2006 17:53

   

Users' Comments  
 


Add your comment
Name
E-mail
Title  
 
Comment
 
Available characters: 600
 
  This image contains a scrambled text, it is using a combination of colors, font size, background, angle in order to disallow computer to automate reading. You will have to reproduce it to post on my homepage
Enter what you see:

   
   

No comment posted

< Prev