配接器配置檔範例

使用「通用日誌配接器」架構建立的配接器可以用來建置日誌和追蹤分析器的日誌剖析器。您可以在安裝「通用日誌配接器」的 config 目錄中,找到許多範例配接器配置檔,例如:

x:\GenericLogAdapter\config
每個範例都是由好幾個檔案所組成:
example.log
應用程式日誌檔的範例
regex.adpater
在「日誌和追蹤分析器」環境中,用來將日誌檔匯入至「日誌和追蹤分析器」的規則型(正規表示式)配接器配置檔。
regex_example.adapter
在「日誌和追蹤分析器」環境外部,用來將 Common Base Event 寫入檔案的規則型(正規表示式)配接器配置檔。
runregex_example.bat
這是一個批次檔,可獨立執行規則型配接器 regex_example.adpater,以剖析或監視 Windows 系統上的日誌檔。 這個批次檔可在上列的 example.log 檔中執行。
runregex_example.sh
這是一個 Shell Script,可獨立執行規則型配接器 regex_example.adpater,以剖析或監視非 Windows 系統上的日誌檔。 這個 Shell Script 可在上列的 example.log 檔中執行。
下表列出應用程式日誌檔類型及可用的範例配接器配置檔:
日誌檔類型 可用的配接器範例 目錄
AIX errpt 日誌 4.3.3 版(規則)、5.1.0 版(規則)、5.2.0(規則) AIX\errpt\v4
AIX syslog regex.adapter AIX\syslog\v4
Apache HTTP Server 存取日誌 regex.adapter、static.adapter Apache\access\v1.3.26
Apache HTTP Server 錯誤日誌 regex.adapter Apache\error\v1.3.26
「共同基本事件」XML 日誌 regex.adapter XML\CommonBaseEvent\v1.0.1
ESS (Shark) 問題日誌 regex.adapter SAN\ESS(Shark)\ProblemLog
IBM DB2 Express 診斷日誌
regex.adapter DB2\diag\tool
IBM DB2 Universal Database Cli 追蹤日誌 static.adapter DB2\cli_trace\V7.2,8.1
IBM DB2 Universal Database 診斷日誌 regex.adapter(8.1 版)、static.adapter(8.1 版)、regex.adapter(8.2 版) DB2\diag\v8.1DB2\diag\v8.2
IBM DB2 Universal Database JDBC 追蹤日誌 static.adapter DB2\jcc\v8.1
IBM DB2 Universal Database 在 z/OS 的 SVC 傾出 static.adapter DB2\zOS\SVCDump
IBM DB2 Universal Database 追蹤日誌 static.adapter DB2\trace\V7.2,8.1
IBM HTTP Server 存取日誌 regex.adapter、static.adapter IHS\access\v1.3.19.3
IBM HTTP Server 錯誤日誌 regex.adapter、static.adapter IHS\error\v1.3.19.3
IBM WebSphere Application Server 活動日誌 static.adapter WAS\activity\v4
IBM WebSphere Application Server 活動日誌 regex.adapter、regex_example.adapter、regex_showlog.adapter、regex_showlog_example.adapter 和 static.adapter WAS\activity\v5
IBM WebSphere Application Server for z/OS 錯誤日誌 static.adapter WAS\zOSerror\v4
IBM WebSphere Application Server 外掛程式日誌 regex.adapter、regex_example.adapter WAS\plugin\v4,5
IBM WebSphere Application Server 追蹤日誌 static.adapter WAS\trace\v4、WAS\trace\v5、WAS\trace\v6
IBM WebSphere Commerce Server 的 ecmsg、stdout 和 stderr 日誌 regex.adapter、regex_example.adapter WCS\ecmsg\v5.4、WCS\ecmsg\v5.5
IBM WebSphere Edge Server 日誌 static.adapter WES\v1.0
IBM WebSphere InterChange Server 日誌 static.adapter WICS\server\4.2.x
IBM WebSphere MQ 錯誤日誌 static.adapter WAS\MQ\error\v5.2
IBM WebSphere MQ FDC 日誌 regex.adapter、regex_example.adapter WAS\MQ\FDC\v5.2,5.3
IBM WebSphere MQ for z/OS 工作日誌 static.adapter WAS\MQ\zOS\v5.3
IBM WebSphere Portal Server appserver_err 日誌 static.adapter WPS\appservererr\v4
IBM WebSphere Portal Server appserverout 日誌 regex.adapter、regex_example.adapter WPS\appserverout\v4,5
IBM WebSphere Portal Server 執行時期資訊日誌
regex.adapter、regex_example.adapter WPS\runtimeinfo\V5.0
IBM WebSphere Portal Server systemerr 日誌
static.adapter WPS\systemerr
記載公用程式 XML 日誌
static.adapter XML\log\v1.0
Microsoft Windows 應用程式日誌 regex.adapter、regex_example.adapter Windows\application
Microsoft Windows 安全日誌 regex.adapter、regex_example.adapter Windows\security
Microsoft Windows 系統日誌 regex.adapter、regex_example.adapter Windows\system
Rational TestManager 日誌 static.adapter Rational\TestManager\2003.06.00
RedHat syslog regex.adapter、regex_example.adapter Linux\RedHat\syslog\v7.1,8.0
SAN 檔案系統日誌 static.adapter SAN\FS
SAN 磁碟機控制器錯誤日誌 regex.adapter SAN\VC\error
SAP 系統日誌 static.adapter、example.log SAP\system
Squadrons-S-HMC 日誌 static.adapter SAN\Squadrons-S\HMC
SunOS syslog regex.adapter、regex_example.adapter SunOS\syslog\v5.8
SunOS vold 日誌 regex.adapter、regex_example.adapter SunOS\vold\v5.8
z/OS GTF 追蹤日誌 static.adapter zOS\GTFTrace
z/OS 工作日誌 static.adapter zOS\joblog\v1.4
z/OS logrec static.adapter zOS\logrec\v1.4
z/OS 主要追蹤日誌 static.adapter zOS\mtrace\v1.4
z/OS 系統日誌 static.adapter zOS\syslog\v1.4
z/OS 系統追蹤日誌 static.adapter zOS\systemtrace

相關概念
日誌和追蹤分析器的概觀

相關作業
建立日誌和追蹤分析器的日誌剖析器

相關參照
支援的日誌檔類型