grep syntax

When all else fails, post it in the lounge...

Here's an example from my raw logs:

64.68.82.55 - - [14/Feb/2004:03:06:19 -0500] "GET /search.php?item%3DAlbert%2BEngstr%F6m HTTP/1.0" 200 4491 "-" "Googlebot/2.1 (+http://www.googlebot.com/bot.html)"

I know from getting the number of hits for a specific SE I woud use "grep "14\/Feb\/2004.*GET .* HTTP.* 200 [0-9][0-9]*.*search\.msn\.com" filename.log | wc -l"

What would I need to use to find all the hits from Googlebot on each specific day?

 

 

 

 

Top