[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How Do I Keep Track OF the Files Being Downloaded From My Apache?

> On 2 Jul., 15:40, Orestes leal <orestesleal13...@cha.jovenclub.cu>
> wrote:
> > Hi Folks:
> >
> > The Thing it's that I want to know, let's say in a range of 24 hours
> > what files was downloaded from my apache server, firts I DO NOT have
> > a proxy server, this server it's a lan server for data and docs purposes
> > so the conection it's direct, I want to keep track to:
> >
> > What File Was downloaded and by who (IP Addresses or hostnames)
> > Hour of this events.
> >
> > Only that, any tool yo make this out there? any apache module?
> >
> > Thanks, and my respects to all of you.
> >
> > Best,
> > Orestes.
> Why dont you find a way to evaluate your /var/log/apache2/access.log?
> In there is all the info your currently looking for. You could write a
> little shellscript to summarize and shorten the entries.
In A Hurry, something more complex like this:

cat /usr/local/apache2/logs/access_log  | awk '{ print $1,$3,$4,$5,$7}'

Later convert the output to HTML and put it in the web directory, so
this is very basic but works for me.


Reply to: