This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Extract "exception type" v/s "occurrences" from log files

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic