> | I've been using webalizer to analyze apache2's access_log. When I
> | browse the raw log file, I realize I'm missing out on a lot of
> | information when I'm using webalizer, but then again, the raw log file
> | is too much info. Is there another tool that lets you see, for
> | example, all raw log entries that include referrer information that is
> | not from my own site for a particular day?
> |
> | - Grant
>
> coreutils!
>
> For example, to see all log entries for today that didn't come from 127.0.0.1
> you could do:
>
> $ grep -v '127.0.0.1' /var/log/apache2/access_log | grep $(date +%d/%b/%Y)
>
> If you only want say the referrer information for sites that aren't yours, you
> could do:
>
> $ cat /var/log/apache2/access_log | awk '{ print $11 }' | grep -v
> 'http://yourdomain/'
>
> grep/sed/awk etc are indespensible for stuff like this. learn them!
It sounds like that's exactly what I need to do. Please let me know
if there's a tutorial online that's particularly good for this. If
not, Google will find about 1,000,000. Thanks!
- Grant
> Aaron Walker <[EMAIL PROTECTED]>
--
[email protected] mailing list