Richard Chapman wrote:
Hi Chris - and many many thanks...
See also below.
You have two choices with SARG.
The first is the simplest, but might not meet your needs. Make sure
in your sarg.conf file the "report_type" directive includes
"users_sites" and "date_time" and/or "site_user_time_dat
Hi Chris - and many many thanks...
See also below.
/path/to/sarg -l /var/log/squid/access.log -l
/var/log/squid/access.log.1 -l /var/log/squid/access.log.2.gz
will parse the data from access.log, access.log.1 and (after
gunzipping) access.log.2.gz, and will give you one report for the time
Richard Chapman wrote:
I also can't find a way to make it cover further back than the current
squid log file - though the daily and weekly reports will presumably
go further back.
/path/to/sarg -l /var/log/squid/access.log -l
/var/log/squid/access.log.1 -l /var/log/squid/access.log.2.gz
w
> In any case - the report seems to cover the whole period of the log. Even
> though the report is generates every 30 minutes - it appears to cover the
> whole squid log period.
YES
Is there any way to restrict the report to a short
> period (say 1 hour) of within the coverage of the squid log.
Hi again Indunil
Indunil Jayasooriya wrote:
I can't find a way to narrow down the time window
of the report. I also can't find a way to make it cover further back than
the current squid log file -
What do u mean ? do you need older data than the current report
No. I don't think so. The
The cron job seems to create a new report
> every 30 minutes - and delete the old one.
Yes, that's right.
The new report covers the full
> period (presumably) covered by the current squid log file - until the time
> the report is generated.
Yes, that's right.
I can't find a way to narrow down t
Hi again Indunil - and many thanks.
I think I have sarg working - at least to the point of generating
regular report files as suggested in your step by step instructions. I
had already set execute bit on sarg.cron. I set the cron job to run
every 30 minutes - and it appears to be doing just th
> Yes. That did help quite a bit. I had actually seen the link before from a
> google search - but hadn't studied it properly. It certainly explains my
> "forbidden" problem. I think I found a missing step though. The step by step
> instructions do not tell you to make sarg.cron executable - so the
Hi Indunil
Yes. That did help quite a bit. I had actually seen the link before from
a google search - but hadn't studied it properly. It certainly explains
my "forbidden" problem. I think I found a missing step though. The step
by step instructions do not tell you to make sarg.cron executable
Hi Richard,
I hope this may help you.
http://www.squid-cache.org/mail-archive/squid-users/200805/0172.html
On Sun, Jun 15, 2008 at 12:33 PM, Richard Chapman
<[EMAIL PROTECTED]> wrote:
> Hi
>
> I have satrg installed and working - but have not found much documentation
> other than the man pages
10 matches
Mail list logo