When doing an error analysis with a log file it often happens that I don't know in advance what I am interested in, but want to go the other way: I look at the logfile, and want to remove uninteresting logfile lines with common messages consecutively until only the interesting stuff is left. E.g. I first want to remove all messages containing "INFO", then all log messages containing a specific very common warning. In the rest there is a common error message which is uncritical, so I want to remove this as well. And so forth, until I get to the meat. Is there anything that supports this process? Common logfile viewers seem to only support highlighting stuff, which isn't too helpful if I don't know the problem in advance.
Preferably the process should work as follows: The logfile is displayed, I can scroll around, and when ever I identify a common pattern I can select it via mouse and hide everything that contains that pattern with one click.