Adapter configuration file samples

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

x:\GenericLogAdapter\config
and also in the config directory of the Eclipse plugin
com.ibm.etools.logging.parsers
Each sample consists of a number of files:
example.log
a sample of the application log file.
regex.adapter
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 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.adapter stand-alone for parsing or monitoring a log file on a Windows(R) system. This batch file, as configured, will parse the example.log file listed above. See the instructions in the batch file for more details on using this file.
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, as configured, will parse the example.log file listed above. See the instructions in the script file for more details on using this file.
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 regex.adapter(v4.3.3(rules))
AIX/errpt/v5.1/nl: regex.adapter(v5.1.0(rules))
AIX/errpt/v5.2/nl: regex.adapter(v5.2.0(rules))
AIX/errpt/v5.2/nl: regex.adapter(v5.3.0(rules))
AIX/errpt/v4/nl: regex.adapter
AIX/errpt/v4/nl
AIX syslog regex.adapter
AIX/syslog/v4/nl
Apache HTTP Server access log regex.adapter(1.3.x(rules))
Apache/access/v1.3.26: regex.adapter(2.0.x(rules))
Apache/access/v1.3.26: static.adapter
Apache/access/v1.3.26
Apache HTTP Server error log regex.adapter(1.3.x(rules))
Apache/error/v1.3.26: regex.adapter(2.0.x(rules))
Apache/error/v1.3.26: static.adapter
Apache/error/v1.3.26
Apache Tomcat localhost log regex.adapter
Apache/Tomcat/localhost/v4.1/nl
Common Base Event XML log regex.adapter
XML/CommonBaseEvent/v1.0.1
Common Event Infrastructure Repository log static.adapter
CEI/v6.1
DataDirect Spy log regex.adapter
DataDirect/spy/v3.00.0016/nl
ESS (Shark) EC Complete log static.adapter
SAN/ESS_Shark/CallHome/nl
ESS (Shark) End of Repair log static.adapter
SAN/ESS_Shark/CallHome/nl
ESS (Shark) ICAT CIMOM log static.adapter
SAN/FS/CIMOM/v1.x/nl
ESS (Shark) Install Complete log static.adapter
SAN/ESS_Shark/CallHome/nl
ESS (Shark) MRPD Data log static.adapter
SAN/ESS_Shark/CallHome/nl
ESS (Shark) PE Package log static.adapter
SAN/ESS_Shark/CallHome/nl
ESS (Shark) Problem log regex.adapter
SAN/ESS_Shark/ProblemLog/nl
ESS (Shark) RAS Diagnostic log static.adapter
SAN/ESS_Shark/CallHome/nl
ESS (Shark) Trace/Dump log static.adapter
SAN/ESS_Shark/CallHome/nl
HP-UX syslog regex.adapter
HPUX/syslog/v11_11i/nl
IBM Communications Server log static.adapter
ICS/SNA/common/nl
IBM DB2 Content Manager Server log regex.adapter
CM/v8.2/nl
IBM DB2 DRDA Trace log static.adapter
DRDA/trace/nl
IBM DB2 Express diagnostic log regex.adapter
DB2/diag/tool/nl
IBM DB2 Universal Database CLI Trace log static.adapter
DB2/cli_trace/V7.2_8.1/nl
IBM DB2 Universal Database diagnostic log regex.adapter(v8.1.x(rules))
DB2/diag/v8.2/nl: regex.adapter(v8.2(rules))
DB2/diag/v8.2/nl: static.adapter(v8.2(static))
DB2/diag/v8.2/nl: static.adapter(v9.1.x(static))
DB2/diag/v8.1/nl: static.adapter
DB2/diag/v8.1/nl
IBM DB2 Universal Database JCC trace log static.adapter
DB2/jcc/v8.1/nl
IBM DB2 Universal Database JDBC trace log static.adapter
DB2/jdbc/v8.1/nl
IBM DB2 Universal Database Stack Trace log static.adapter
DB2/stacktrace/v8.1/nl
IBM DB2 Universal Database SVC Dump on z/OS static.adapter
DB2/zOS/SVCDump/nl
IBM DB2 Universal Database Trace log static.adapter
DB2/trace/V7.2_8.1/nl
IBM HACMP C-SPOC log regex.adapter(v5.2(rules))
HACMP/cspoc/v5.2/nl: static.adapter(v5.2(static))
HACMP/cspoc/v5.2/nl
IBM HACMP clcomddiag log regex.adapter
HACMP/clcomddiag/v5.2/nl
IBM HACMP clstrmgr debug log regex.adapter
HACMP/clstrmgr_debug/v5.2/nl
IBM HACMP Cluster Communication Daemon log regex.adapter
HACMP/clcomd/v5.2/nl
IBM HACMP Cluster history log regex.adapter
HACMP/cluster/history/v5.2/nl
IBM HACMP Cluster message log regex.adapter
HACMP/cluster/message/v5.2/nl
IBM HACMP clverify log regex.adapter
HACMP/clverify/v5.2/nl
IBM HACMP Event Emulator log regex.adapter
HACMP/emuhacmp/v5.2/nl
IBM HACMP out log regex.adapter(standard v5.2(rules))
HACMP/out/default/v5.2/nl: regex.adapter
HACMP/out/standard/v5.2/nl
IBM HTTP Server access log regex.adapter(v1.3.x(rules))
IHS/access/v1.3.19.3/nl: regex.adapter(v2.0.x(rules))
IHS/access/v1.3.19.3/nl: static.adapter
IHS/access/v1.3.19.3/nl
IBM HTTP Server error log regex.adapter(v1.3.x(rules))
IHS/err/v1.3.19.3/nl: regex.adapter(v2.0.x(rules))
IHS/err/v1.3.19.3/nl: static.adapter
IHS/err/v1.3.19.3/nl
IBM Informix Dynamic Server Assertion Failure log regex.adapter(v9.x(rules))
Informix/IDS/aflog/v9.x/nl: static.adapter(v9.x(static))
Informix/IDS/aflog/v9.x/nl: static.adapter(v10tc5e/uc5(static))
Informix/IDS/aflog/v9.x/nl
IBM Informix Dynamic Server Message log regex.adapter(v9.x(rules))
Informix/IDS/message/v9.x/nl: static.adapter(v9.x(static))
Informix/IDS/message/v9.x/nl: static.adapter(v10tc5e/uc5(static))
Informix/IDS/message/v9.x/nl
IBM Informix Dynamic Server XTRACE log regex.adapter
Informix/IDS/XTRACE/v9.x/nl
IBM Informix JDBC Driver Protocol trace log static.adapter
Informix/jdbcdriver/protocoltrace/v2.21.JC4_2.21.JC5/nl
IBM Informix JDBC Driver Trace log static.adapter
Informix/jdbcdriver/JDBCtrace/v2.21.JC4_2.21.JC5/nl
IBM JDK gc log static.adapter
JDK/IBMJDK/gc/v1.5/nl
IBM JDK Javacore log static.adapter
JDK/IBMJDK/Javacore/nl
IBM JDK trace log regex.adapter
JDK/IBMJDK/trace/v1.5/nl
IBM Rational ClearCase log static.adapter
Rational/ClearCase/v2003.06.00/nl
IBM Rational ClearQuest Request Manager log regex.adapter
Rational/ClearQuest/RequestManager/v2003.06.00/nl
IBM Rational ClearQuest Trace log regex.adapter
Rational/ClearQuest/Trace/v2003.06.00/nl
IBM Rational TestManager log static.adapter
Rational/TestManager/2003.06.00/nl
IBM Tivoli Access Manager Message log regex.adapter
Tivoli/AccessManager/Message/v5.1/nl
IBM Tivoli Business System Manager Console Log static.adapter
Tivoli/TBSM/v3.1/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Control Log static.adapter
Tivoli/CMDBCDT/control/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Discover Admin Log static.adapter
Tivoli/CMDBCDT/discoveradmin/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Discover Log static.adapter
Tivoli/CMDBCDT/discover/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Discover Manager Log static.adapter
Tivoli/CMDBCDT/discovermanager/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Error Log static.adapter
Tivoli/CMDBCDT/error/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Events Core Log static.adapter
Tivoli/CMDBCDT/eventscore/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Proxy Log static.adapter
Tivoli/CMDBCDT/proxy/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Topology Manager Log static.adapter
Tivoli/CMDBCDT/topologymanager/v1.1.x/nl
IBM Tivoli Configuration Manager Software Package Log static.adapter
Tivoli/TCM/v4.2.1/softwarePackageLog/nl
IBM Tivoli Directory Server Administration Daemon audit log regex.adapter
ITDS/audit/v5.2/nl
IBM Tivoli Directory Server Administration Daemon error log regex.adapter
ITDS/error/v5.2/nl
IBM Tivoli Directory Server audit log regex.adapter
ITDS/audit/v5.2/nl
IBM Tivoli Directory Server Bulkload error log regex.adapter
ITDS/db2_error/v5.2/nl
IBM Tivoli Directory Server DB2 error log regex.adapter
ITDS/db2_error/v5.2/nl
IBM Tivoli Directory Server error log regex.adapter
ITDS/error/v5.2/nl
IBM Tivoli Enterprise Portal Server Trace Log static.adapter
Tivoli/TEPS/v6.1/trace/nl
IBM Tivoli LogXML log regex.adapter(Message v1.1.0(rules))
Tivoli/LogXML/Trace/v1.1.0/nl: regex.adapter(Trace v1.1.0(rules))
Tivoli/LogXML/Message/v1.1.0/nl
IBM Tivoli Service Level Advisor message log static.adapter
Tivoli/TSLA/v2.1/messageLog/nl
IBM TotalStorage Productivity Centre data log static.adapter
Tivoli/TSPC/v3.1/data/nl
IBM WebSphere Application Server - Express activity log regex_showlog.adapter(v6.1(rules))
WAS/activity/v5/nl: regex_showlog.adapter(v6.0(rules))
WAS/activity/v5/nl: static.adapter(v5.x(static))
WAS/activity/v5/nl: regex_showlog.adapter(v5.x(rules))
WAS/activity/v4/nl: static.adapter(v4.x(static))
WAS/activity/v6.x/nl: regex_showlog.adapter(v6.1 CBE(rules))
WAS/activity/v6.x/nl: regex_showlog.adapter(v6.0 CBE(rules))
WAS/activity/v5/nl: static.adapter
WAS/activity/v5/nl
IBM WebSphere Application Server - Express systemerr log regex.adapter(v5.x(rules))
WAS/Express/appserverout/v6/nl: static.adapter(v6.0(static))
WAS/Express/appserverout/v6/nl: static.adapter(v6.1(static))
WAS/Express/appserverout/v6/nl: static.adapter
WAS/Express/appserverout/v5/nl
IBM WebSphere Application Server - Express systemout log regex.adapter(v5.x(rules))
WAS/Express/appserverout/v6/nl: static.adapter(v6.0(static))
WAS/Express/appserverout/v6/nl: static.adapter(v6.1(static))
WAS/Express/appserverout/v6/nl: static.adapter
WAS/Express/appserverout/v5/nl
IBM WebSphere Application Server activity log regex_showlog.adapter(v6.x(rules))
WAS/activity/v5/nl: static.adapter(v5.x(static))
WAS/activity/v5/nl: regex_showlog.adapter(v5.x(rules))
WAS/activity/v4/nl: static.adapter(v4.x(static))
WAS/activity/v6.x/nl: regex_showlog.adapter(v6.x CBE(rules))
WAS/activity/v5/nl: static.adapter
WAS/activity/v5/nl
IBM WebSphere Application Server for z/OS Component trace log static.adapter(v4.x(static))
WAS/zOSCtrace/v4/nl
IBM WebSphere Application Server for z/OS error log static.adapter(v4.x(static))
WAS/zOSerror/v4/nl
IBM WebSphere Application Server plugin log regex.adapter
WAS/plugin/v4_5/nl
IBM WebSphere Application Server stack trace log static.adapter
WAS/stacktrace/v5.x/nl
IBM WebSphere Application Server systemerr log static.adapter(v6.0(static))
WAS/Express/appserverout/v6/nl: static.adapter(v6.1(static))
WAS/systemerr/v4 5/nl: static.adapter
WAS/Express/appserverout/v6/nl
IBM WebSphere Application Server systemout log static.adapter(v6.0(static))
WAS/Express/appserverout/v6/nl: static.adapter(v6.1(static))
WAS/appserverout/v4 5/nl: regex.adapter
WAS/Express/appserverout/v6/nl
IBM WebSphere Application Server trace log static.adapter(v6.x (Basic))
WAS/trace/v6/nl: static.adapter(v6.x (Advanced))
WAS/activity/v5/nl: regex.adapter(v6.x (Log Analyzer))
WAS/trace/v5/nl: static.adapter(v5.x (Basic))
WAS/trace/v5/nl: static.adapter(v5.x (Advanced))
WAS/activity/v5/nl: regex.adapter(v5.x (Log Analyzer))
WAS/trace/v4/nl: static.adapter(v4.x)
WAS/trace/v5/nl: static.adapter
WAS/trace/v6/nl
IBM WebSphere Business Integration Adapter log static.adapter
WBI/Adapter/v4.3.x/nl
IBM WebSphere Business Integration Message Broker log regex.adapter
WBI/MessageBroker/nl
IBM WebSphere Business Integration Server Express install log regex.adapter
WBI/express/install_log/nl
IBM WebSphere Business Integration Server Express InterchangeSystem log static.adapter
WBI/Adapter/v4.3.x/nl
IBM WebSphere Commerce Server ecmsg, stdout, stderr log regex.adapter(WCS ecmsg v5.4(rules))
WCS/ecmsg/v5.5/nl: regex.adapter(WCS ecmsg v5.5(rules))
WCS/ecmsg/v5.5/nl: regex.adapter(WCS stdout-stderr v5.4)
WCS/ecmsg/v5.5/nl: regex.adapter(WCS stdout-stderr v5.5)
WCS/ecmsg/v5.5/nl: regex.adapter
WCS/ecmsg/v5.4/nl
IBM WebSphere Edge Server log static.adapter
WES/v1.0/nl
IBM WebSphere InterChange Server log static.adapter
WICS/server/4.2.x/nl
IBM WebSphere MQ client log regex.adapter(Queue Manager Error Log v5.2(rules))
WAS/MQ/error/v5.2/nl: regex.adapter(Queue Manager Error Log v5.3(rules))
WAS/MQ/error/v5.2/nl: regex.adapter(Client Error Log v5.2(rules))
WAS/MQ/error/v5.2/nl: regex.adapter(Client Error Log v5.3(rules))
WAS/MQ/FDC/v5.2 5.3/nl: regex.adapter(MQ FDC log v5.2(rules))
WAS/MQ/FDC/v5.2 5.3/nl: regex.adapter(MQ FDC log v5.3(rules))
WAS/MQ/error/v5.2/nl: regex.adapter
WAS/MQ/error/v5.2/nl
IBM WebSphere MQ error log static.adapter
WAS/MQ/error/v5.2/nl
IBM WebSphere MQ Express error log static.adapter
WAS/MQ/error/v5.2/nl
IBM WebSphere MQ Express FDC log regex.adapter
WAS/MQ/FDC/v5.2_5.3/nl
IBM WebSphere MQ FDC log regex.adapter
WAS/MQ/FDC/v5.2_5.3/nl
IBM WebSphere MQ for z/OS Joblog static.adapter
WAS/MQ/zOS/v5.3/nl
IBM WebSphere MQ Workflow system log regex.adapter
WebSphere/MQWorkflow/v3.5/nl
IBM WebSphere Portal Server appserver_err log static.adapter
WPS/appservererr/v4/nl
IBM WebSphere Portal Server appserverout log regex.adapter
WPS/appserverout/v4_5/nl
IBM WebSphere Portal Server run-time information log regex.adapter
WPS/runtimeinfo/V5.0/nl
IBM WebSphere Portal Server systemerr log static.adapter
WPS/systemerr/nl
IBM WebSphere Portal Server systemout log regex.adapter
WPS/appserverout/v4_5/nl
ISC Indus log static.adapter
ISC/Indus/v1.0/nl
Java Logging XML log static.adapter
XML/Java/logging/v1.4
Linux on zSeries syslog regex.adapter
Linux/zlinux/syslog/v8.x/nl
Logging Utilities XML log static.adapter
XML/log/v1.0/nl
Microsoft Internet Information Services Centralized Binary log static.adapter
IIS/BinaryLogging/v6.x/nl
Microsoft Internet Information Services log static.adapter
IIS/log/v5.x/nl
Microsoft Internet Information Services ODBC Logging regex.adapter
IIS/ODBCLogging/v6.x/nl
Microsoft SQL Server Errorlog regex.adapter
SQL/ERRORLOG/nl
Microsoft SQL Server Transaction log regexExecQuery.adapter
SQL/TransactionLog/nl
Microsoft Windows Application log regex.adapter
Windows/application/nl
Microsoft Windows Security log regex.adapter
Windows/security/nl
Microsoft Windows System log regex.adapter
Windows/system/nl
Oracle alert log static.adapter
Oracle/alert/v9.2/nl
Oracle JDBC trace log static.adapter
Oracle/JDBCTrace/nl
Oracle listener log static.adapter
Oracle/listener/v9.2/nl
Oracle server log static.adapter
Oracle/server/v9.2/nl
OS/400 QAUDJRN Journal static.adapter
OS400/QAUDJRN/V5R2/nl
RedHat syslog regex.adapter
Linux/RedHat/syslog/v7.1_8.0/nl
SAN File System Admin Server log regex.adapter
SAN/FS/admin_server/v1.x/nl
SAN File System CIMOM log static.adapter
SAN/FS/CIMOM/v1.x/nl
SAN File System log static.adapter
SAN/FS/nl
SAN Volume Controller Configuration log static.adapter
SAN/VC/config/nl
SAN Volume Controller error log regex.adapter
SAN/VC/error/nl
SAP Java logging infrastructure static.adapter(XML Formatter v1.3(static))
SAP/LogInfrastructure/XMLFormatter/v1.5/nl: static.adapter(XML Formatter v1.5(static))
SAP/LogInfrastructure/TraceFormatter/v1.5/nl: regex.adapter(Trace Formatter v1.3(rules))
SAP/LogInfrastructure/TraceFormatter/v1.5/nl: regex.adapter(Trace Formatter v1.5(rules))
SAP/LogInfrastructure/TraceFormatter/v1.5/nl: static.adapter(Trace Formatter v1.3(static))
SAP/LogInfrastructure/TraceFormatter/v1.5/nl: static.adapter(Trace Formatter v1.5(static))
SAP/LogInfrastructure/ListFormatter/v1.5/nl: static.adapter(List Formatter v1.3(static))
SAP/LogInfrastructure/ListFormatter/v1.5/nl: static.adapter(List Formatter v1.5(static))
SAP/LogInfrastructure/XMLFormatter/v1.5/nl
SAP system log static.adapter
SAP/system/nl
Siebel Component Event log regex.adapter
SIEBEL/v7.5/nl
Siebel Server Event log regex.adapter
SIEBEL/v7.5/nl
Squadrons-S Problem log static.adapter
SAN/Squadrons-S/HMC/nl
SunOS syslog regex.adapter(v5.8(rules))
SunOS/syslog/v5.8/nl
SunOS vold log regex.adapter(v5.8(rules))
SunOS/vold/v5.8/nl
SuSE syslog on xSeries regex.adapter
Linux/SUSE/syslog/v8.x/nl
TXSeries CICS Console/CSMT log regex.adapter(v5.0(rules))
CICS/Console CSMT/v5.1/nl: regex.adapter(v5.1(rules))
CICS/Console_CSMT/v5.0/nl
TXSeries CICS Transaction Server for z/OS System message log static.adapter
CICS/zOS/v2.2.0/nl
Weblogic Server access log regex.adapter(v7.x(rules))
Weblogic/access/v7.x/nl: static.adapter
Weblogic/access/v7.x/nl
Windows Security event log to Security CBE static.adapter
SCBE/Windows/security/nl
WSDM Event format log static.adapter(v1.1(static))
XML/WEF/v1.0/nl: static.adapter
XML/WEF/v1.1/nl
z/OS Component trace static.adapter(SYSXCF for z/OS v1.4(static))
zOS/ctrace/sysxcf/nl: static.adapter(SYSXCF for z/OS v1.5(static))
zOS/ctrace/sysrsm/nl: static.adapter(SYSRSM for z/OS v1.4(static))
zOS/ctrace/sysrsm/nl: static.adapter(SYSRSM for z/OS v1.5(static))
zOS/ctrace/sysjes/nl: static.adapter(SYSJES for z/OS v1.4(static))
zOS/ctrace/sysjes/nl: static.adapter(SYSJES for z/OS v1.5(static))
zOS/ctrace/sysxcf/nl: static.adapter
zOS/ctrace/sysxcf/nl
z/OS GTF trace static.adapter
zOS/GTFTrace/nl
z/OS JES DLOG regex.adapter
zOS/JES_DLOG/v1.4/nl
z/OS Joblog static.adapter
zOS/joblog/v1.4/nl
z/OS Logrec static.adapter
zOS/logrec/v1.4/nl
z/OS master trace static.adapter
zOS/mtrace/v1.4/nl
z/OS QHST log static.adapter(Syslog v1.4(static))
zOS/joblog/v1.4/nl: static.adapter(Joblog v1.4(static))
zOS/syslog/v1.4/nl: static.adapter(Syslog v1.5(static))
zOS/joblog/v1.4/nl: static.adapter(Joblog v1.5(static))
zOS/syslog/v1.4/nl
z/OS System log(SYSLOG) static.adapter
zOS/syslog/v1.4/nl
z/OS System trace static.adapter
zOS/systemtrace/nl

Related concepts
Log and Trace Analyzer feature overview


Related tasks
Creating a log parser


Related reference
Supported log file types