SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Sponsored Links

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

README

# Sherlog v.1.2 #
# http://sherlog.europeanservers.net #
#
# 2001-2003 EuropeanServers SARL #
# Ultra Fast Internet Servers #
# http://www.europeanservers.net

##########################################################################
USAGE

#
##########################################################################

To use sherlog, just type

"perl sherlog-X.Y.Z.pl [-c conf_file] access_log_file_to_analyze email_to_send_the_report" THIS USAGE NEED UNIX AND A LOCAL MAIL SERVER

or

"perl sherlog-X.Y.Z.pl [-c conf_file] access_log_file_to_analyze" to print it to STDOUT

###########################################################################
LOG FORMATS SUPPORTED

#
###########################################################################

Sherlog support these 2 log formats :

  • Common Log Format (CLF) :

Referers summary is of course impossible with this format since Referers aren't logged

  • Combined Log Format :

This is the best log format to use with sherlog

############################################################################
RECOMMENDED USAGE FOR SHERLOG

#
############################################################################

You should execute this script daily on your resolved logs of the previous day (otherwise you'll see only IP adresses of your visitors, not their domain names).

You can do that by adding a cron job if your host allow it (but BE CAREFUL : if your logs are too big, THIS CAN OVERLOAD THE SERVER).

If your logs are huge, a better idea would be to compress your log file (if it isn't automatically compressed), to download and to decompress it, and to analyze it on your own computer with sherlog, because gzip is 2 to 3 times faster than sherlog. But DON'T DO THIS WITH BZIP2 : bzip2 is ten times slower than sherlog.

To estimate the time of processing :

Number of seconds ~= [ (total number of lines)/90000 + (number of non excluded lines)/16000 ] / performance factor

where performance factor is 1 for my Athlon 1200 Thunderbird FSB 266 with 256MB DDR PC2100, and 0.5 for my VIA C3 800 with 256MB PC133.


Sponsored Links

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.