适配器配置文件样本

可使用通用日志适配器框架创建的适配器,用来为日志和跟踪分析器构建日志解析器。可以在安装了通用日志适配器的 config 目录下找到许多样本适配器配置文件,例如:

x:\GenericLogAdapter\config
也可以在 Eclipse 插件的 config 目录下找到许多样本适配器配置文件
com.ibm.etools.logging.parsers
每个样本都包含许多文件:
example.log
应用程序日志文件的样本。
regex.adapter
在日志和跟踪分析器环境中用来将日志文件导入至日志和跟踪分析器的基于规则(正则表达式)的适配器配置文件。
regex_example.adapter
在日志和跟踪分析器环境外部用来将公共基本事件写入至文件的基于规则(正则表达式)的适配器配置文件。配置此适配器配置文件以对在同一个目录中的样本应用程序日志文件 example.log 进行解析。
runregex_example.bat
一个批处理文件,用来独立运行基于规则的适配器 regex_example.adapter 以对 Windows(R) 系统上的日志文件进行解析或监视。此批处理文件按配置的那样将对上面列示的 example.log 文件进行解析。请参阅该批处理文件中的指示信息以了解有关使用此文件的更多详细信息。
runregex_example.sh
一个 shell 脚本,用来独立运行基于规则的适配器 regex_example.adapter 以对非 Windows 系统上的日志文件进行解析或监视。此 shell 脚本按配置的那样将对上面列示的 example.log 文件进行解析。请参阅该脚本文件中的指示信息以了解有关使用此文件的更多详细信息。
注意:如果存在适用于应用程序日志文件的静态解析器,则某些样本将包括 static.adapter 文件。static.adapter 文件是一个执行静态解析器 Java 类以对日志文件进行解析的基于静态解析器的适配器配置文件。配置 static.adapter 文件以在日志和跟踪分析器环境中将日志文件导入至日志和跟踪分析器。

下表列示了应用程序日志文件类型和可用的样本适配器配置文件。

日志文件类型 可用的适配器样本 目录
AIX errpt 日志 regex.adapter(4.3.3(rules))
regex.adapter(5.1.0(rules))
regex.adapter(5.2.0(rules))
regex.adapter
AIX/errpt/v4/nl
AIX/errpt/v5.1/nl
AIX/errpt/v5.2/nl
AIX 系统日志 regex.adapter
AIX/syslog/v4/nl
Apache HTTP Server 访问日志 regex.adapter(1.3.x(rules))
regex.adapter(2.0.x(rules))
static.adapter
Apache/access/v1.3.26
Apache HTTP Server 错误日志 regex.adapter(1.3.x(rules))
regex.adapter(2.0.x(rules))
static.adapter
Apache/error/v1.3.26
Apache Tomcat 本地主机日志 regex.adapter
Apache/Tomcat/localhost/v4.1/nl
公共基本事件 XML 日志 regex.adapter
XML/CommonBaseEvent/v1.0.1
Common Event Infrastructure 存储库日志 static.adapter
CEI/v6.1
DataDirect Spy 日志 regex.adapter
DataDirect/spy/v3.00.0016/nl
DRDA 跟踪日志 static.adapter
DRDA/trace/nl
ESS(Shark)EC 完成日志 static.adapter
SAN/ESS_Shark/CallHome/nl
ESS(Shark)修复结束日志 static.adapter
SAN/ESS_Shark/CallHome/nl
ESS(Shark)ICAT CIMOM 日志 static.adapter
SAN/FS/CIMOM/v1.x/nl
ESS(Shark)安装完成日志 static.adapter
SAN/ESS_Shark/CallHome/nl
ESS(Shark)MRPD 数据日志 static.adapter
SAN/ESS_Shark/CallHome/nl
ESS(Shark)PE 包日志 static.adapter
SAN/ESS_Shark/CallHome/nl
ESS(Shark)问题日志 regex.adapter
SAN/ESS_Shark/ProblemLog/nl
ESS(Shark)RAS 诊断日志 static.adapter
SAN/ESS_Shark/CallHome/nl
ESS(Shark)跟踪/转储日志 static.adapter
SAN/ESS_Shark/CallHome/nl
HP-UX 系统日志 regex.adapter
HPUX/syslog/v11_11i/nl
IBM 通信服务器日志 static.adapter
ICS/SNA/common/nl
IBM DB2 Content Manager 服务器日志 regex.adapter
CM/v8.2/nl
IBM DB2 Express 诊断日志 regex.adapter
DB2/diag/tool/nl
IBM DB2 通用数据库 CLI 跟踪日志 static.adapter
DB2/cli_trace/V7.2_8.1/nl
IBM DB2 通用数据库诊断日志 regex.adapter(8.1.x(rules))
regex.adapter(8.2(rules))
static.adapter(8.2(static))
static.adapter(9.1.x(static))
static.adapter
DB2/diag/v8.1/nl
DB2/diag/v8.2/nl
IBM DB2 通用数据库 JCC 跟踪日志 static.adapter
DB2/jcc/v8.1/nl
IBM DB2 通用数据库 JDBC 跟踪日志 static.adapter
DB2/jdbc/v8.1/nl
IBM DB2 通用数据库堆栈跟踪日志 static.adapter
DB2/stacktrace/v8.1/nl
z/OS 上的 IBM DB2 通用数据库 SVC 转储 static.adapter
DB2/zOS/SVCDump/nl
IBM DB2 通用数据库跟踪日志 static.adapter
DB2/trace/V7.2_8.1/nl
IBM HACMP C-SPOC 日志 regex.adapter(v5.2(rules))
static.adapter(v5.2(static))
HACMP/cspoc/v5.2/nl
IBM HACMP clcomddiag 日志 regex.adapter
HACMP/clcomddiag/v5.2/nl
IBM HACMP clstrmgr 调试日志 regex.adapter
HACMP/clstrmgr_debug/v5.2/nl
IBM HACMP 集群通信守护程序日志 regex.adapter
HACMP/clcomd/v5.2/nl
IBM HACMP 集群历史记录日志 regex.adapter
HACMP/cluster/history/v5.2/nl
IBM HACMP 集群消息日志 regex.adapter
HACMP/cluster/message/v5.2/nl
IBM HACMP clverify 日志 regex.adapter
HACMP/clverify/v5.2/nl
IBM HACMP 事件仿真器日志 regex.adapter
HACMP/emuhacmp/v5.2/nl
IBM HACMP 输出日志 regex.adapter(standard 5.2(rules))
regex.adapter
HACMP/out/default/v5.2/nl
HACMP/out/standard/v5.2/nl
IBM HTTP Server 访问日志 regex.adapter(1.3.x(rules))
regex.adapter(2.0.x(rules))
static.adapter
IHS/access/v1.3.19.3/nl
IBM HTTP Server 错误日志 regex.adapter(1.3.x(rules))
regex.adapter(2.0.x(rules))
static.adapter
IHS/err/v1.3.19.3/nl
IBM Informix Dynamic Server 断言失败日志 regex.adapter(v9.x(rules))
static.adapter(v10tc5e/uc5(static))
static.adapter(v9.x(static))
Informix/IDS/aflog/v9.x/nl
IBM Informix Dynamic Server 消息日志 regex.adapter(v9.x(rules))
static.adapter(v10tc5e/uc5(static))
static.adapter(v9.x(static))
Informix/IDS/message/v9.x/nl
IBM Informix Dynamic Server XTRACE 日志 regex.adapter
Informix/IDS/XTRACE/v9.x/nl
IBM Informix JDBC 驱动程序协议跟踪日志 static.adapter
Informix/jdbcdriver/protocoltrace/v2.21.JC4_2.21.JC5/nl
IBM Informix JDBC 驱动程序跟踪日志 static.adapter
Informix/jdbcdriver/JDBCtrace/v2.21.JC4_2.21.JC5/nl
IBM JDK gc 日志 static.adapter
JDK/IBMJDK/gc/v1.5/nl
IBM JDK Javacore 日志 static.adapter
JDK/IBMJDK/Javacore/nl
IBM JDK 跟踪日志 regex.adapter
JDK/IBMJDK/trace/v1.5/nl
IBM Rational ClearCase 日志 static.adapter
Rational/ClearCase/v2003.06.00/nl
IBM Rational ClearQuest 请求管理器日志 regex.adapter
Rational/ClearQuest/RequestManager/v2003.06.00/nl
IBM Rational ClearQuest 跟踪日志 regex.adapter
Rational/ClearQuest/Trace/v2003.06.00/nl
IBM Rational TestManager 日志 static.adapter
Rational/TestManager/2003.06.00/nl
IBM Tivoli Access Manager 消息日志 regex.adapter
Tivoli/AccessManager/Message/v5.1/nl
IBM Tivoli Business System Manager 控制台日志 static.adapter
Tivoli/TBSM/v3.1/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Control 日志 static.adapter
Tivoli/CMDBCDT/control/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Discover Admin 日志 static.adapter
Tivoli/CMDBCDT/discoveradmin/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Discover 日志 static.adapter
Tivoli/CMDBCDT/discover/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Discover Manager 日志 static.adapter
Tivoli/CMDBCDT/discovermanager/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking 错误日志 static.adapter
Tivoli/CMDBCDT/error/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Events Core 日志 static.adapter
Tivoli/CMDBCDT/eventscore/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking 代理日志 static.adapter
Tivoli/CMDBCDT/proxy/v1.1.x/nl
IBM Tivoli CCMDB Configuration Discovery and Tracking Topology Manager 日志 static.adapter
Tivoli/CMDBCDT/topologymanager/v1.1.x/nl
IBM Tivoli Configuration Manager Software Package 日志 static.adapter
Tivoli/TCM/v4.2.1/softwarePackageLog/nl
IBM Tivoli Directory Server 管理守护程序审计日志 regex.adapter
ITDS/audit/v5.2/nl
IBM Tivoli Directory Server 管理守护程序错误日志 regex.adapter
ITDS/error/v5.2/nl
IBM Tivoli Directory Server 审计日志 regex.adapter
ITDS/audit/v5.2/nl
IBM Tivoli Directory Server 成批装入错误日志 regex.adapter
ITDS/db2_error/v5.2/nl
IBM Tivoli Directory Server DB2 错误日志 regex.adapter
ITDS/db2_error/v5.2/nl
IBM Tivoli Directory Server 错误日志 regex.adapter
ITDS/error/v5.2/nl
IBM Tivoli Enterprise Portal Server 跟踪日志 static.adapter
Tivoli/TEPS/v6.1/trace/nl
IBM Tivoli LogXML 日志 regex.adapter(Message 1.1.0(rules))
regex.adapter(Trace 1.1.0(rules))
Tivoli/LogXML/Message/v1.1.0/nl
Tivoli/LogXML/Trace/v1.1.0/nl
IBM Tivoli Service Level Advisor 消息日志 static.adapter
Tivoli/TSLA/v2.1/messageLog/nl
IBM TotalStorage Productivity Centre 数据日志 static.adapter
Tivoli/TSPC/v3.1/data/nl
IBM WebSphere Application Server - Express 活动日志 regex_showlog.adapter(5.x(rules))
regex_showlog.adapter(6.0(rules))
regex_showlog.adapter(6.1(rules))
regex_showlog.adapter(6.1 CBE(rules))
static.adapter(4.x(static))
static.adapter(5.x(static))
static.adapter
WAS/activity/v4/nl
WAS/activity/v5/nl
WAS/activity/v6.x/nl
IBM WebSphere Application Server - Express 系统错误日志 regex.adapter(5.x(rules))
static.adapter(6.0(static))
static.adapter(6.1(static))
static.adapter
WAS/Express/appserverout/v5/nl
WAS/Express/appserverout/v6/nl
IBM WebSphere Application Server - Express 系统输出日志 regex.adapter(5.x(rules))
static.adapter(6.0(static))
static.adapter(6.1(static))
static.adapter
WAS/Express/appserverout/v5/nl
WAS/Express/appserverout/v6/nl
IBM WebSphere Application Server 活动日志 regex_showlog.adapter(5.x(rules))
regex_showlog.adapter(6.x(rules))
regex_showlog.adapter(6.x CBE(rules))
static.adapter(4.x(static))
static.adapter(5.x(static))
static.adapter
WAS/activity/v4/nl
WAS/activity/v5/nl
WAS/activity/v6.x/nl
IBM WebSphere Application Server for z/OS 组件跟踪日志 static.adapter(4.x(static))
WAS/zOSCtrace/v4/nl
IBM WebSphere Application Server for z/OS 错误日志 static.adapter(4.x(static))
WAS/zOSerror/v4/nl
IBM WebSphere Application Server 插件日志 regex.adapter
WAS/plugin/v4_5/nl
IBM WebSphere Application Server 堆栈跟踪日志 static.adapter
WAS/stacktrace/v5.x/nl
IBM WebSphere Application Server 系统错误日志 static.adapter(6.0(static))
static.adapter(6.1(static))
static.adapter
WAS/Express/appserverout/v6/nl
WAS/systemerr/v4_5/nl
IBM WebSphere Application Server 系统输出日志 regex.adapter
static.adapter(6.0(static))
static.adapter(6.1(static))
WAS/appserverout/v4_5/nl
WAS/Express/appserverout/v6/nl
IBM WebSphere Application Server 跟踪日志 regex.adapter(5.x (Log Analyzer))
regex.adapter(6.x (Log Analyzer))
static.adapter(4.x)
static.adapter(5.x (Basic))
static.adapter(6.x (Advanced))
static.adapter(6.x (Basic))
static.adapter
WAS/activity/v5/nl
WAS/trace/v4/nl
WAS/trace/v5/nl
WAS/trace/v6/nl
IBM WebSphere Business Integration Adapter 日志 static.adapter
WBI/Adapter/v4.3.x/nl
IBM WebSphere Business Integration Message Broker 日志 regex.adapter
WBI/MessageBroker/nl
IBM WebSphere Business Integration Server Express 安装日志 regex.adapter
WBI/express/install_log/nl
IBM WebSphere Business Integration Server Express InterchangeSystem 日志 static.adapter
WBI/Adapter/v4.3.x/nl
IBM WebSphere Commerce Server ecmsg、stdout 和 stderr 日志 regex.adapter(WCS ecmsg v5.4(rules))
regex.adapter(WCS ecmsg v5.5(rules))
regex.adapter(WCS stdout-stderr v5.4)
regex.adapter(WCS stdout-stderr v5.5)
regex.adapter
WCS/ecmsg/v5.4/nl
WCS/ecmsg/v5.5/nl
IBM WebSphere Edge Server 日志 static.adapter
WES/v1.0/nl
IBM WebSphere InterChange Server 日志 static.adapter
WICS/server/4.2.x/nl
IBM WebSphere MQ 客户机日志 regex.adapter(Client Error Log 5.2(rules))
regex.adapter(Client Error Log 5.3(rules))
regex.adapter(MQ FDC log 5.2(rules))
regex.adapter(Queue Manager Error Log 5.2(rules))
regex.adapter(Queue Manager Error Log 5.3(rules))
regex.adapter
WAS/MQ/error/v5.2/nl
WAS/MQ/FDC/v5.2_5.3/nl
IBM WebSphere MQ 错误日志 static.adapter
WAS/MQ/error/v5.2/nl
IBM WebSphere MQ Express 错误日志 static.adapter
WAS/MQ/error/v5.2/nl
IBM WebSphere MQ Express FDC 日志 regex.adapter
WAS/MQ/FDC/v5.2_5.3/nl
IBM WebSphere MQ FDC 日志 regex.adapter
WAS/MQ/FDC/v5.2_5.3/nl
IBM WebSphere MQ for z/OS 作业日志 static.adapter
WAS/MQ/zOS/v5.3/nl
IBM WebSphere MQ Workflow 系统日志 regex.adapter
WebSphere/MQWorkflow/v3.5/nl
IBM WebSphere Portal Server appserver_err 日志 static.adapter
WPS/appservererr/v4/nl
IBM WebSphere Portal Server appserverout 日志 regex.adapter
WPS/appserverout/v4_5/nl
IBM WebSphere Portal Server 运行时信息日志 regex.adapter
WPS/runtimeinfo/V5.0/nl
IBM WebSphere Portal Server 系统错误日志 static.adapter
WPS/systemerr/nl
IBM WebSphere Portal Server 系统输出日志 regex.adapter
WPS/appserverout/v4_5/nl
ISC Indus 日志 static.adapter
ISC/Indus/v1.0/nl
Java 日志记录 XML 日志 static.adapter
XML/Java/logging/v1.4
记录实用程序 XML 日志 static.adapter
XML/log/v1.0/nl
Microsoft Internet Information Service 中央二进制日志 static.adapter
IIS/BinaryLogging/v6.x/nl
Microsoft Internet Information Service 日志 static.adapter
IIS/log/v5.x/nl
Microsoft Internet Information Service ODBC 记录 regex.adapter
IIS/ODBCLogging/v6.x/nl
Microsoft SQL Server 错误日志 regex.adapter
SQL/ERRORLOG/nl
Microsoft SQL Server 事务日志 regexExecQuery.adapter
SQL/TransactionLog/nl
Microsoft Windows 应用程序日志 regex.adapter
Windows/application/nl
Microsoft Windows 安全日志 regex.adapter
Windows/security/nl
Microsoft Windows 系统日志 regex.adapter
Windows/system/nl
Oracle 警报日志 static.adapter
Oracle/alert/v9.2/nl
Oracle JDBC 跟踪日志 static.adapter
Oracle/JDBCTrace/nl
Oracle 侦听器日志 static.adapter
Oracle/listener/v9.2/nl
Oracle 服务器日志 static.adapter
Oracle/server/v9.2/nl
OS/400 QAUDJRN 日志 static.adapter
OS400/QAUDJRN/V5R2/nl
RedHat 系统日志 regex.adapter
Linux/RedHat/syslog/v7.1_8.0/nl
SAN 文件系统管理服务器日志 regex.adapter
SAN/FS/admin_server/v1.x/nl
SAN 文件系统 CIMOM 日志 static.adapter
SAN/FS/CIMOM/v1.x/nl
SAN 文件系统日志 static.adapter
SAN/FS/nl
SAN 卷控制器配置日志 static.adapter
SAN/VC/config/nl
SAN 卷控制器错误日志 regex.adapter
SAN/VC/error/nl
SAP Java 记录基础结构 regex.adapter(Trace Formatter 1.3(rules))
static.adapter(List Formatter 1.3(static))
static.adapter(XML Formatter 1.3(static))
static.adapter(XML Formatter 1.5(static))
SAP/LogInfrastructure/ListFormatter/v1.5/nl
SAP/LogInfrastructure/TraceFormatter/v1.5/nl
SAP/LogInfrastructure/XMLFormatter/v1.5/nl
SAP 系统日志 static.adapter
SAP/system/nl
Siebel 组件事件日志 regex.adapter
SIEBEL/v7.5/nl
Siebel Server 事件日志 regex.adapter
SIEBEL/v7.5/nl
Squadrons-S 问题日志 static.adapter
SAN/Squadrons-S/HMC/nl
SunOS 系统日志 regex.adapter(5.8(rules))
SunOS/syslog/v5.8/nl
SunOS vold 日志 regex.adapter(5.8(rules))
SunOS/vold/v5.8/nl
xSeries 上的 SuSE 系统日志 regex.adapter
Linux/SUSE/syslog/v8.x/nl
TXSeries CICS 控制台/CSMT 日志 regex.adapter(v5.0(rules))
regex.adapter(v5.1(rules))
CICS/Console_CSMT/v5.0/nl
CICS/Console_CSMT/v5.1/nl
TXSeries CICS Transaction Server for z/OS 系统消息日志 static.adapter
CICS/zOS/v2.2.0/nl
Weblogic Server 访问日志 regex.adapter(7.x(rules))
static.adapter
Weblogic/access/v7.x/nl
安全 CBE 的 Windows 安全事件日志 static.adapter
SCBE/Windows/security/nl
WSDM 事件格式日志 static.adapter(v1.1(static))
static.adapter
XML/WEF/v1.0/nl
XML/WEF/v1.1/nl
z/OS 组件跟踪 static.adapter(SYSJES for z/OS v1.4(static))
static.adapter(SYSRSM for z/OS v1.4(static))
static.adapter(SYSXCF for z/OS v1.4(static))
static.adapter(SYSXCF for z/OS v1.5(static))
static.adapter
zOS/ctrace/sysjes/nl
zOS/ctrace/sysrsm/nl
zOS/ctrace/sysxcf/nl
z/OS GTF 跟踪 static.adapter
zOS/GTFTrace/nl
z/OS JES DLOG regex.adapter
zOS/JES_DLOG/v1.4/nl
z/OS 作业日志 static.adapter
zOS/joblog/v1.4/nl
z/OS 日志记录 static.adapter
zOS/logrec/v1.4/nl
z/OS 主跟踪 static.adapter
zOS/mtrace/v1.4/nl
z/OS QHST 日志 static.adapter(Joblog 1.4(static))
static.adapter(Joblog 1.5(static))
static.adapter(Syslog 1.4(static))
static.adapter(Syslog 1.5(static))
zOS/joblog/v1.4/nl
zOS/syslog/v1.4/nl
z/OS 系统日志(SYSLOG) static.adapter
zOS/syslog/v1.4/nl
z/OS 系统跟踪 static.adapter
zOS/systemtrace/nl
zlinux 系统日志 regex.adapter
Linux/zlinux/syslog/v8.x/nl

相关概念
日志和跟踪分析器功能概述


相关任务
创建日志解析器


相关参考
受支持的日志文件类型