Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

srg(1) [debian man page]

srg(1)							      General Commands Manual							    srg(1)

NAME
srg - A fast and flexible log analyser for the Squid proxy SYNOPSIS
srg srg [options] <logfile> [logfile] ... DESCRIPTION
SRG is a log analyser for the Squid web proxy. SRG takes input in the form of Squid access logs and outputs a series of reports in PHP (or HTML) format designed to summarise what the users of the cache have been viewing. SRG supports grouping requests by user, subnet or IP and can also filter on the same criteria. OPTIONS
-C <config file> Location of the srg config file. -d Enable debugging output -f <date>[time] Start time to begin analysation at --help -h Display this help -H Generate HTML rather than PHP reports -m <days> Specify maximum number of days to keep a report -M Output a summary report suitable for emailing. -o <directory> Output Directory -O <URL> URL where reports will be located -t <date>[time] End time to stop analysation at -v Verbose mode. Print relevant messages. -V Print Version and exit. Date and time should be specified in the following format for -f and -t Date: YYYY-MM-DD Time: :HH:MM:SS - note leading : eg. 2005-01-08:15:46:30 (Jan 8 2005 15:46:30) Logfile(s) to process should be specified at the end of the options AUTHOR
SRG is written and maintained by Matt Brown <matt@crc.net.nz> with the help of many others. See AUTHORS in the top level of the source tree. BUGS
Of course SRG doesn't have any bugs *wink*, if by some obscure chance you happen to find a bug in SRG, please report it via the URL below http://sourceforge.net/tracker/?func=add&group_id=62787&atid=501794 srg(1)

Check Out this Related Man Page

squid_session(8)					      System Manager's Manual						  squid_session(8)

NAME
squid_session - Squid session tracking external acl group helper SYNOPSIS
squid_session [-t idle_timeout] [-b dbpath] [-a] DESCRIPTION
This helper maintains a concept of sessions by monitoring requests and timing out sessions if no requests have been seen for the idle time- out timer. Intended use is for displaying "terms of use" pages, ad popups etc. -t idletimeout (default 3600) Specifies the session idle timeout timer. -b dbpath Path to persistent database. If not specified the session details will be kept in memory only and all sessions will reset each time Squid restarts it's helpers (Squid restart or rotation of logs). -a Active mode. In this mode sessions are started by evaluating an acl with the argument LOGIN, or terminated by the argument LOGOUT. Without this flag the helper automatically starts the session after the first request. EXAMPLE
Configuration example using the default automatic mode external_acl_type session ttl=300 negative_ttl=0 children=1 concurrency=200 %LOGIN /usr/local/squid/libexec/squid_session acl session external session http_access deny !session deny_info http://your.server/bannerpage?url=%s session Then set up http://your.server/bannerpage to display a session startup page and then redirect the user back to the requested URL given in the url query parameter. AUTHOR
This helper and documentation was written by Henrik Nordstrom <henrik@henriknordstrom.net> QUESTIONS
Any questions on usage can be sent to Squid Users <squid-users@squid-cache.org>. REPORTING BUGS
Report bugs or bug-fixes to Squid Bugs <squid-bugs@squid-cache.org> or ideas for new improvements to Squid Developers <squid-dev@squid- cache.org> SEE ALSO
squid(8) Version 1.0 19 March 2006 squid_session(8)
Man Page