I have a whole bunch of Apache logs that I'd like to idly thumb through. Because each line is so long, however, it's somewhat painful to do through vim - my terminal just isn't long enough.
I'd like a native OS X application to view each entry in a non-painful way. All I really want is a big human-readable list of requests, with search. Requirements:
- Work on OS X 10.10 (and 10.11, when it comes out)
Accept a standard-format log file - a standard line out of mine, for example, looks like this:
subdomain.mydomain.com:80 xx.yy.zz.aa - - [28/Sep/2015:03:05:46 +0000] "POST /mini-profiler-resources/results HTTP/1.1" 200 65182 "http://metasmoke.erwaysoftware.com/posts" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.99 Safari/537.36\ **0/99106**
I haven't played with the log format settings at all, to my knowledge.
Be free, I'm not willing to pay money for this
Nice to have:
- Open source would be a huge plus
- Color coding for responses - I.e., red for a 400/500 class error, black for a 200, green for a 300, etc. Ideally user-configurable, but I'm less concerned about that
- Allow me to search/filter through all fields or only one field - I.e. all requests from a certain spider, etc.
- Let me give it an SSH key and path and have it automatically go get the file without me manually copying it down to my local machine.
Is there any software that would do this?