From time to time I need to dig through huge log files (several GB unpacked) to debug a specific error.
Now, vim is OK for browsing through the file, but when I need to find something in the file it's completely useless. Is there some tool that could index the log and allow me to search the file faster?
Ideally a command line tool.
EDIT: Just to clarify, tools like
grep aren't suitable since I need to examine the context of the matches and
-B just aren't good enough. Plus
grep are still unusably slow.