Networking Forums

Networking Forums > Computer Networking > Linux Networking > Getting stats from an apache server

Reply
Thread Tools Display Modes

Getting stats from an apache server

 
 
J.Beaulieu
Guest
Posts: n/a

 
      11-17-2003, 09:00 PM
Hi,

is it possible to go back few days earlier and get stats on web
traffic (in/out) per IP and per period?
I've check under /var/log and there is many files but it doesn't seem
to indicate me what can cause a surge in web or ftp traffic...
 
Reply With Quote
 
 
 
 
Trygve Selmer
Guest
Posts: n/a

 
      11-18-2003, 12:32 AM
J.Beaulieu wrote:
> Hi,
>
> is it possible to go back few days earlier and get stats on web
> traffic (in/out) per IP and per period?
> I've check under /var/log and there is many files but it doesn't seem
> to indicate me what can cause a surge in web or ftp traffic...


Use webalizer.

 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      11-18-2003, 06:01 AM
In alt.apache.configuration J.Beaulieu <(E-Mail Removed)> wrote:
> is it possible to go back few days earlier and get stats on web
> traffic (in/out) per IP and per period?


Use a trafic analyzer as analog or webalizer on your log files.

Davide
 
Reply With Quote
 
John Doe
Guest
Posts: n/a

 
      11-18-2003, 07:28 AM
In article <bpcg4o$1mhs03$(E-Mail Removed)>, Davide Bianchi wrote:
> In alt.apache.configuration J.Beaulieu <(E-Mail Removed)> wrote:
>> is it possible to go back few days earlier and get stats on web
>> traffic (in/out) per IP and per period?

>
> Use a trafic analyzer as analog or webalizer on your log files.
>
> Davide

I'm beginning to experiment with awstats. Check it out. Would this
suit your needs? It appears to be fairly full featured
 
Reply With Quote
 
J.Beaulieu
Guest
Posts: n/a

 
      11-18-2003, 11:16 AM
Davide Bianchi <(E-Mail Removed)> wrote in message news:<bpcg4o$1mhs03$(E-Mail Removed)>...
> In alt.apache.configuration J.Beaulieu <(E-Mail Removed)> wrote:
> > is it possible to go back few days earlier and get stats on web
> > traffic (in/out) per IP and per period?

>
> Use a trafic analyzer as analog or webalizer on your log files.
>
> Davide


Yes, but I'm curious to know which file webalizer is taking to
perform such stats; in the introduction webpage it is state that
access_log is used, however there seems to be no data like 'number of
bytes per visit' in access_log, just one line per page visited. For
exemple I have:

81.96.119.130 - - [09/Nov/2003:07:03:49 -0500] "GET /HeadScript.js
HTTP/1.1" 301 250 myurl.com "http://www.myurl.com/found/intro.html"
"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461)"

as a typical line in access_log, but no amount of bytes for this; I
have not the lattitude to reconfigure webalizer or do anything like
that as it is not mine and I'd like to have the flexibility to perform
something myself on a low level basis.
 
Reply With Quote
 
Davide Bianchi
Guest
Posts: n/a

 
      11-18-2003, 12:02 PM
In alt.apache.configuration J.Beaulieu <(E-Mail Removed)> wrote:
> Yes, but I'm curious to know which file webalizer is taking to
> perform such stats;


The access_log and error_log files

> access_log is used, however there seems to be no data like 'number of
> bytes per visit'


No, but there is the amount of bytes of each single requests, that summed
up and divided by the total number of visits will give you that figure.

> as a typical line in access_log, but no amount of bytes for this;


What do you think that the number after the response code is? See the
documentation about the log format if you want more info.

Davide
 
Reply With Quote
 
Allan Bruce
Guest
Posts: n/a

 
      11-18-2003, 12:36 PM

"Davide Bianchi" <(E-Mail Removed)> wrote in message
news:bpcg4o$1mhs03$(E-Mail Removed)...
> In alt.apache.configuration J.Beaulieu <(E-Mail Removed)> wrote:
> > is it possible to go back few days earlier and get stats on web
> > traffic (in/out) per IP and per period?

>
> Use a trafic analyzer as analog or webalizer on your log files.
>
> Davide


Does webalizer accept iptables logs? I want a similar graphical display for
my iptables logs.
Thanks
Allan


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache Web Server [ECF]Juggernaut Linux Networking 4 05-10-2007 07:34 PM
Basic Apache Web Server Question JMecc Linux Networking 5 12-16-2006 08:19 PM
how to run php tag in apache server Simon Lee Linux Networking 1 02-14-2006 06:02 AM
I am trying to get my apache server to work. brodrich@aol.com Linux Networking 2 01-28-2005 04:09 PM
Apache Virtual Server Leslie Roger Linux Networking 2 07-21-2004 11:59 AM



1 2 3 4 5 6 7 8 9 10 11