|
Project Information
Members
Featured
Downloads
|
DescriptionThe EssbaseRightLog PERL script parse ANY Oracle Hyperion Essbase® v.5 - v.11.1.1 server or application logs and generates a full, custom delimited, output for enhanced analysis (database, spreadsheet). EssbaseRightLog is intended to help Essbase® and Planning® database administrators and developers. Any Essbase® generated log may be parsed whatever the delimiter defined in Essbase.cfg config file (please refer to DELIMITEDMSG TRUE, DELIMITER in Oracle’s Essbase® Technical Reference). The idea was to make the logs really readable (one liner) by facilitating their integration and filtering in a spreadsheet (common logical delimiter). Reconciled logs may be inserted as well in a relational database for querying or statistics production. EssbaseRightLog_vxx.exe, compiled version of EssbaseRightLog_vxx.pl is no longer supported and maintained. Options available
Screenshotshttp://roux.sebastien.googlepages.com/essbaserightlog AvailabilityEssbaseRightLog is available in the downloads section as a single PERL script, which require PERL. It may then be run under Windows/UNIX/Linux environments. Required PERL module: When running the PERL script the following magical PERL module will be required: Spreadsheet-WriteExcel More information at:
Instructions of useUSAGE: EssbaseRightLog -i <logfile(s)> [-o <outputfile>, -c, -d <arg>, -t, -s <arg>, -f <arg>, -x <outputfile>, -q, -h] -i specify Essbase log(s), args: <logfile1[;logfile2;...]> -o specify output file, arg: <outputfile> -c specify message categories -d specify date format, arg: <ISO|EUR|US> -t specify headers on top -s specify separator, arg: <*> -f specify filter (case sensitive), arg: <regex> -x specify Excel output, arg: <outputfile> -q specify query output -h display usage ExamplesFiltering: lately I just created a few batches with my own rules, find below some useful examples of what can be done.
rightlog.pl-i Y:\App\App1\App1.log;X:\App\App2\App2.log -o c:\calcs_logs.txt -c -d EUR -t -f "1013091.*Calculate|1012550.*Elapsed"
rightlog.pl -i Y:\App\App1\App1.log;X:\App\App2\App2.log -o c:\connections_logs.txt -c -d EUR -t -f 1013210
rightlog.pl -i Y:\App\App1\App1.log;X:\App\App2\App2.log -o c:\ErrWar_logs.txt -c -d EUR -t -f "Error|Warning"
rightlog.pl -i Y:\App\App1\App1.log;X:\App\App2\App2.log;X:\App\App3\App3.log -x c:\AppEvent_lite.xls -c -d EUR -t -f "1012550.*Elapsed|Error|Warning|1013207|1003024" Excel Export:
rightlog.pl -i C:\Hyperion\Essbase93\Essbase.log -x c:\mylogs\Essbase20080326.xls -c -t -d ISO Query output:
rightlog.pl -i C:\Hyperion\Essbase93\Essbase.log -q > c:\Essbase_stats.txt About query output parameter (-q)This options is made available thanks to SQLite embedded database. Logs are parsed and inserted into a table, queries are then applied to produce custom stats. Once that rightlog.db database file is created you may query it using many clients around (based on a free or a commercial licence). I use SQlite Manager which is a great Firefox plugin to query and manage SQLite database files. An ODBC driver is also available at http://www.ch-werner.de/sqliteodbc/ Current version and release notesV.2.7 2012/02/21 - Bug correction on date parsing V.2.6 2008/09/14 - Added query output based on SQLite database. Query option forces categories (-c) display. First run with -q option will generate a querycfg.xml file with default SQL queries - fell free to modify it! - forced Excel extension (.xls) on Excel export arg (-x) - forced header on Excel export arg (-x) - minor corrections v.2.5.2 2008/03/26 - Added export to Excel paned and filtered workbook feature - Updated usage text v.2.2 2007/12/04 - Corrected display error in usage text - Updated Essbase Server and Application Log Message Categories for Essbase 9.3.1 (see -c option)v.2.1 2007/12/02 - Removed unused code v.2.0 2007/12 - Renamed from previous version (Essbase Log Reconciler) and revamped - Added new features such as string filtering, custom delimiter ... To come...
From the same authorssauditmerger - Merge your spreadsheet audit logs for better analysis |