Originally Posted by namit
so in that case just do multiple greps in it or you could read up about regular expressions.
cat logfile | grep "http://mywebsite/link1/2.html" | grep "[20/Apr/2009"
This is so annoying, there are too many logs, I can't even grep per minute because there are WAY TOO MANY !
Even if i do: cat access_log.2 | grep "http://mysite" | grep "20/Apr/2009:09:1" in order to have all the logs in the 2009 hour 09 and minute 1x it dosen't show me the whole logs because there are too many, and i need too export them all.
And please don't tell me to do cat access_log.2 | grep "http://mysite" | grep "20/Apr/2009:09:11" and then ...2009:09:12 and then 2009:09:13 'cause I'm gonna go crazy. I need to export the logs from hour 9:00 to hour 22:00, so please.