I feel like this should be answered somewhere but I am not able to find a good answer.
My requirement is that I need to scour last 3 months logs (several thousand files) for all exceptions, on Unix server.
so I need a command (or script) which should print, log file name, line number, exception first line, and then route that output > to a new file.
I want something I can run in the background and check after that process is completed.
I can then analyze that file for all the frequent exceptions and can concentrate on the most occurring ones.
Thanks for the help.