WEBLOGIC LOG EXTRACTOR AND SUMMARIZER

 As sysadmins, we need to daily deal with logs. It is overwhelming to check huge log files especially for application servers like weblogic which has numerous log files like diagnostic, server log, out log, OHS logs etc. It is time consuming and quickly lead to fatigue if log files are huge like weblogic. I have developed 2 scripts which extract and summarize logs. I have been using these scripts in both production and test environments. These scripts helped in quickly reacting to a situation and saved time. If your organization already has tools like Splunk, ELK, these scripts may not much use. But for those who couldn’t afford, these scripts could help. Please find brief description about each script as below:

Log Extractor: This script takes time in mins or time period as input and extracts logs produced between that time period. We can also filter log files based on log severity as shown below screenshot.
Script Location: https://github.com/RameshPoonati/oracleMiddlewareScripts/tree/master/LogExtractor

Log Summarizer: This script extracts and summarizes errors reported in log files with count against each error. It will help in getting snapshot of errors happened in past 1 hr.
Script Location: https://github.com/RameshPoonati/oracleMiddlewareScripts/tree/master/ErrorReport

Similar scripts can be found at: https://github.com/RameshPoonati/oracleMiddlewareScripts

Comments

Popular posts from this blog

HOW WE REDUCED SOA OSB PROVISIONING FROM 4 DAYS TO 4 HOURS

NOT ABLE TO START RABBITMQ CLUSTER: CANNOT DECLARE A QUEUE ‘~S’ ON NODE ‘~S’: ~255P

SOA SUITE 12.2.1.4 INSTALLATION: GOT EXCEPTION WHEN AUTO CONFIGURING THE SCHEMA COMPONENT(S) WITH DATA OBTAINED FROM SHADOW TABLE