Here are some things I have done in the past to pull data out of log files. I find myself referring to this list from time to time to remember how I did things in the past.
Real Queries That May Need To Be Repeated
ATT YIH upgrades in the month of 200709
$ listysftclog 200709* | [...]