Extract "exception type" v/s "occurrences" from log files
posted 4 years ago
We have to monitor application's log files for what exception types are occurring and the how many times they are occurring, on a daily basis.
Currently, doing it manually -
1. use a unix script based on the "grep -i" command on .gz log file and extract the lines with [ERROR] in a text file.
2. manually browse/scroll the text file and note down the exception types/patterns
3. use a unix script based on "grep -c" command and cound the occurrence for each pattern in all the log files
4. Tabulate the information from above steps in an XL sheet and generate pie chart.
Are there any open source tools which will let me count the exception types given the log files as input? I searched around and got some tools but did not quite get what i was looking for.
Would like to hear out from experts here.
SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ] Performance is a compulsion, not a option, if my existence is to be justified.