Adapter configuration file samples

Adapters created using the Generic Log Adapter framework can be used for building log parsers for the Log and Trace Analyzer. A number of sample adapter configuration files can be found under the config directory where the Generic Log Adapter is installed, for example,

x:\GenericLogAdapter\config
Each sample consists of a number of files:
example.log
a sample of the application log file
regex.adpater
a rules-based (regular expression) adapter configuration file used in the Log and Trace Analyzer environment for importing log files into Log and Trace Analyzer.
regex_example.adapter
a rules-based (regular expression) adapter configuration file used outside the Log and Trace Analyzer environment for writing the Common Base Events to a file. This adapter configuration file is configured to parse the sample application log file example.log located in the same directory as the adapter configuration file.
runregex_example.bat
a batch file to run the rules-based adapter regex_example.adpater stand-alone for parsing or monitoring a log file on a Windows system. This batch file can be run on the example.log file listed above.
runregex_example.sh
a shell script to run the rules-based adapter regex_example.adapter stand-alone for parsing or monitoring a log file on a non-Windows system. This shell script can be run on the example.log file listed above.
Note: some samples include a static.adapter file if a static parser exists for the application log file. The static.adapter file is a static parser based adapter configuration file that executes a static parser java class to parse the log file. The static.adapter file is configured to be used in the Log and Trace Analyzer environment for importing log files into Log and Trace Analyzer.
The following table lists the application log file types and the available sample adapter configuration files:
Log file type Adapter sample available Directory
AIX errpt log V4.3.3(rules), V5.1.0(rules), V5.2.0(rules) AIX\errpt\v4
AIX syslog regex.adapter AIX\syslog\v4
Apache HTTP Server access log regex.adapter, static.adapter Apache\access\v1.3.26
Apache HTTP Server error log regex.adapter Apache\error\v1.3.26
Common Base Event XML log regex.adapter XML\CommonBaseEvent\v1.0.1
ESS (Shark) Problem log regex.adapter SAN\ESS(Shark)\ProblemLog
IBM DB2 Express diagnostic log
regex.adapter DB2\diag\tool
IBM DB2 Universal Database Cli Trace log static.adapter DB2\cli_trace\V7.2,8.1
IBM DB2 Universal Database diagnostic log regex.adapter(v8.1), static.adapter(v8.1), regex.adapter(v8.2) DB2\diag\v8.1, DB2\diag\v8.2
IBM DB2 Universal Database JDBC trace log static.adapter DB2\jcc\v8.1
IBM DB2 Universal Database SVC Dump on z/OS static.adapter DB2\zOS\SVCDump
IBM DB2 Universal Database Trace log static.adapter DB2\trace\V7.2,8.1
IBM HTTP Server access log regex.adapter, static.adapter IHS\access\v1.3.19.3
IBM HTTP Server error log regex.adapter, static.adapter IHS\error\v1.3.19.3
IBM WebSphere Application Server activity log static.adapter WAS\activity\v4
IBM WebSphere Application Server activity log regex.adapter, regex_example.adapter, regex_showlog.adapter, regex_showlog_example.adapter, static.adapter WAS\activity\v5
IBM WebSphere Application Server error log for z/OS static.adapter WAS\zOSerror\v4
IBM WebSphere Application Server plugin log regex.adapter, regex_example.adapter WAS\plugin\v4,5
IBM WebSphere Application Server trace log static.adapter WAS\trace\v4, WAS\trace\v5, WAS\trace\v6
IBM WebSphere Commerce Server ecmsg, stdout, stderr log regex.adapter, regex_example.adapter WCS\ecmsg\v5.4, WCS\ecmsg\v5.5
IBM WebSphere Edge Server log static.adapter WES\v1.0
IBM WebSphere InterChange Server log static.adapter WICS\server\4.2.x
IBM WebSphere MQ error log static.adapter WAS\MQ\error\v5.2
IBM WebSphere MQ FDC log regex.adapter, regex_example.adapter WAS\MQ\FDC\v5.2,5.3
IBM WebSphere MQ for z/OS Job log static.adapter WAS\MQ\zOS\v5.3
IBM WebSphere Portal Server appserver_err log static.adapter WPS\appservererr\v4
IBM WebSphere Portal Server appserverout log regex.adapter, regex_example.adapter WPS\appserverout\v4,5
IBM WebSphere Portal Server run-time information log
regex.adapter, regex_example.adapter WPS\runtimeinfo\V5.0
IBM WebSphere Portal Server systemerr log
static.adapter WPS\systemerr
Logging Utilities XML log
static.adapter XML\log\v1.0
Microsoft Windows Application log regex.adapter, regex_example.adapter Windows\application
Microsoft Windows Security log regex.adapter, regex_example.adapter Windows\security
Microsoft Windows System log regex.adapter, regex_example.adapter Windows\system
Rational TestManager log static.adapter Rational\TestManager\2003.06.00
RedHat syslog regex.adapter, regex_example.adapter Linux\RedHat\syslog\v7.1,8.0
SAN File system log static.adapter SAN\FS
SAN Volume Controller error log regex.adapter SAN\VC\error
SAP system log static.adapter, example.log SAP\system
Squadrons-S-HMC log static.adapter SAN\Squadrons-S\HMC
SunOS syslog regex.adapter, regex_example.adapter SunOS\syslog\v5.8
SunOS vold log regex.adapter, regex_example.adapter SunOS\vold\v5.8
z/OS GTF Trace log static.adapter zOS\GTFTrace
z/OS Job log static.adapter zOS\joblog\v1.4
z/OS logrec static.adapter zOS\logrec\v1.4
z/OS master trace log static.adapter zOS\mtrace\v1.4
z/OS System log static.adapter zOS\syslog\v1.4
z/OS System trace log static.adapter zOS\systemtrace

Related concepts
Log and Trace Analyzer feature overview

Related tasks
Creating a log parser for the Log and Trace Analyzer