A bit of Apache help

Hard and soft ware discusion.

Moderator: Moderators

A bit of Apache help

Postby dillona_aix » Thu Dec 28, 2006 10:32 am

Hi all,

I have a file that I must automatically open through wget every hour on my site.
This totally ruins all statistics.
How can I make it so that this file is not included in the access log?

Thanks,
Dillon
There are 10 types of people in this world, those who understand binary and those who don't.
User avatar
dillona_aix
Moderator
Moderator
 
Posts: 185
Joined: Sun Sep 11, 2005 9:05 pm
Location: USA

Postby zoli » Thu Dec 28, 2006 10:47 am

hi,

access log is quite objective and it is hard to affect (except the line format)... but it is more likely to have a possibility to ignore some files during collecting the statistical data - either with external programs (like "grep -vi" for example) or with the stat application itself.
Regards,
Z
---
Zoltan Arpadffy
zoli
Forum Admin
Forum Admin
 
Posts: 760
Joined: Mon Sep 30, 2002 1:27 am
Location: Stockholm, Sweden

Postby miker_alpha » Thu Dec 28, 2006 11:54 pm

You could either:
1. View your logs through a filter e.g. try
http://www.polarhome.com:763/~miker/seelog.php?flag
(will only show you lines with "flag" in them,) - roll your own to do whatever you want - use a shell script for quick-&-dirty programming

2. Use an analyser (my personal preference is Webalizer) which you can configure to ignore as you see fit.

Enjoy!
Mike R
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel

Postby dillona_aix » Fri Dec 29, 2006 7:24 am

I installed Webalizer.
It's not nearly as good as my hosts analysis tool (I'd imagine its some enterprise one licensed from another company) but it will have to do.
Thanks a bunch, guys.
There are 10 types of people in this world, those who understand binary and those who don't.
User avatar
dillona_aix
Moderator
Moderator
 
Posts: 185
Joined: Sun Sep 11, 2005 9:05 pm
Location: USA

More info on WebServer log analysis

Postby miker_alpha » Mon Jan 01, 2007 8:33 pm

For a good explanation of what log analysers cannot do, see:
http://www.mrunix.net/webalizer/simpleton.html

MikeR
Look for OpenVMS help on my webpage
Check for QOTD here.
Image
User avatar
miker_alpha
Moderator
Moderator
 
Posts: 256
Joined: Sat May 08, 2004 9:20 am
Location: Kibbutz Tzora, Israel


Return to Computers

Who is online

Users browsing this forum: No registered users and 2 guests

cron