Although there exist excellent tools for doing full log analysis,
sometimes you just want to quickly pull out a little information. I recently
found myself wanting to parse a section of our Apache access logs and find IPs
consistently hitting the same URLs over and over. This lead to a line of
grep chained together with pipes; since that didn't
handle variations very well, it's now a line of
grep chained together with pipes and wrapped in a little bit of Ruby. :)
Here is the Github gist.