어댑터 구성 파일 샘플

일반 로그 어댑터 프레임워크를 사용하여 작성된 어댑터는 로그 및 추적 분석기의 로그 구문 분석기를 빌드하는 데 사용할 수 있습니다. Generic Log Adapter가 설치된 config 디렉토리에서 여러 개의 샘플 어댑터 구성 파일을 찾을 수 있습니다. 예를 들면 다음과 같습니다.

x:\GenericLogAdapter\config
각 샘플은 다음과 같은 여러 개의 파일로 이루어집니다.
example.log
응용프로그램 로그 파일의 샘플
regex.adpater
로그 및 추적 분석기로 로그 파일을 가져오기 위해 로그 및 추적 분석기 환경에서 사용되는 규칙 기반(일반 표현식) 어댑터 구성 파일
regex_example.adapter
Common Base Event를 파일에 쓰기 위해 로그 및 추적 분석기 환경 외부에서 사용되는 규칙 기반(일반 표현식) 어댑터 구성 파일
runregex_example.bat
Windows 시스템의 로그 파일을 구문 분석 또는 모니터링하기 위해 규칙 기반 어댑터 regex_example.adpater를 독립형으로 실행하기 위한 일괄처리 파일. 이 일괄처리 파일은 위에 나열된 example.log 파일에서 실행될 수 있습니다.
runregex_example.sh
비Windows 시스템의 로그 파일을 구문 분석 또는 모니터링하기 위해 규칙 기반 어댑터 regex_example.adapter를 독립형으로 실행하기 위한 쉘 스크립트. 이 쉘 스크립트는 위에 나열된 example.log 파일에서 실행될 수 있습니다.
다음 표는 응용프로그램 로그 파일 유형 및 사용 가능한 샘플 어댑터 구성 파일을 나열합니다.
로그 파일 유형 사용 가능한 어댑터 샘플 디렉토리
AIX errpt 로그 V4.3.3(규칙), V5.1.0(규칙), V5.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
Common Base Event 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(v8.1), static.adapter(v8.1), regex.adapter(v8.2) DB2\diag\v8.1, DB2\diag\v8.2
IBM DB2 Universal Database JDBC 추적 로그 static.adapter DB2\jcc\v8.1
z/OS용 IBM DB2 Universal Database 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
z/OS용 IBM WebSphere Application Server 오류 로그 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
z/OS용 IBM WebSphere MQ 작업 로그 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

관련 개념
로그 및 추적 분석기 개요

관련 타스크
로그 및 추적 분석기의 로그 구문 분석기 작성

관련 참조
지원되는 로그 파일 유형