SarcasticDwarf
Diamond Member
I am using grep commands to search my raw access logs for visitrs from Google (human, not spiders). The grep command I run is
grep "15\/Feb\/2004.*GET .* HTTP.* 200 [0-9][0-9]*.*www\.google\.com" filename.log | wc -l
The problem is, this has been showing over 1200 the last couple days, and Awstats is only showing 500-800 uniques/day. The raw lines from the log file look like
xx.xxx.xx.xx - - [12/Aug/2004:22:01:51 -0400] "GET / HTTP/1.1" 200 16068 "http://www.google.com/search?hl=en&lr=&ie=UTF-8&safe=off&q=Internet+Book+database" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
Any ideas as to if it is a problem with the grep command picking up the spiders or an Awstats bug?
grep "15\/Feb\/2004.*GET .* HTTP.* 200 [0-9][0-9]*.*www\.google\.com" filename.log | wc -l
The problem is, this has been showing over 1200 the last couple days, and Awstats is only showing 500-800 uniques/day. The raw lines from the log file look like
xx.xxx.xx.xx - - [12/Aug/2004:22:01:51 -0400] "GET / HTTP/1.1" 200 16068 "http://www.google.com/search?hl=en&lr=&ie=UTF-8&safe=off&q=Internet+Book+database" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)"
Any ideas as to if it is a problem with the grep command picking up the spiders or an Awstats bug?