index/zephyr/
zephyr is a wrapper for httpd log parsers/analyzers. It sorts and merges httpd log files, feeds them to a parser/analyzer (currently visitors and analog are supported) and optionally emails the output to a user specified email address.
Download: zephyr-0.1.tar.gz. zephyr is free software, available under the GNU GPL.
zephyr -p /some/httpd/logs/ -m me@mydom.org -n access.log/some/httpd/logs/access.log* logs, pass them to
visitors, compress and
email the output html file to <me@mydom.org>
zephyr -m me@mydom.org -o "-U" -n mydomain-access.log/var/log/apache2/mydomain-access.log* logs, pass them to
visitors with the "-U" option,
compress, and email the output html file to <me@mydom.org>
zephyr -n access-log -rj -s 20060601 -e 20060607/var/log/apache2/access-log* logs from 1st of June
2006 until 7th of June 2006, using real sorting; the output file is gzipped
and saved at the current dir
-e, --end-date=DATEDATE; the format must be one of YYYYMMDD,
YYYYMMDDhh, YYYYMMDDhhmm, or YYMMDDhhmmss, where YYYY is the year, MM is the
month, DD is the day, hh is the hour, mm is the minute, and ss is the second
-h, --help-j, --just-merge-logs-m, --mail-to=EMAILEMAIL
-n, --logname=NAME-o, --parser-options=PARSEROPTIONSPARSEROPTIONS to log parser/analyzer-p, --httpd-logs-path=PATHPATH
value
-r, --real-sort-s, --start-date=DATEDATE; the format must be
one of YYYYMMDD, YYYYMMDDhh, YYYYMMDDhhmm, or YYMMDDhhmmss, where
YYYY is the year, MM is the month, DD is the day, hh is the hour,
mm is the minute, and ss is the second
-u, --use-analyzer=ANALYZER