Searching compressed Apache logs
Posted by Tariq • Tuesday, June 23. 2009 • Category: One liners, Tidbits
From time to time things tend to go wrong and systems tend to go crazy. Sometimes these errors are more of nuisance than anything else, an intermittent annoyance you'd prefer not to investigate -- trawling through logs is a pain in the backside. Now you need to take a peak at those compressed Apache error log files, ugh! Well before you look for suitable places to hang some rope try running some expressions across a certain number of files. Normally you'd only want to look at logs for the last 7 days, so lets give that a go.
Continue reading "Searching compressed Apache logs"
Defined tags for this entry: apache, bunzip2, compressed, find, grep, gzip, logs, one liners, tidbits, xargs
Fri, 16.07.2010 21:48
Nvm my last comment, it works for 7.... but when i [...]