Substitution extension classes
When defining the parsing criteria for the creationTime property of a Common Base Event, you can use substitution classes instead of substitution rules.
The following substitution classes are available.
- com.ibm.etools.logging.adapter.parsers.AIXTimeFormatExtension
- This class parses the time format for the AIX(R) errpt log and the AIX syslog.
It adds the current year to the log file date, unless the result is greater than the current system date,
in which case the previous year is added to the log file date to generate the creationTime property.
- com.ibm.etools.logging.adapter.parsers.InformixMessageLogTimeFormatExtension
- This class parses the time format for the IBM(R) Informix(R) Dynamic Server Message log.
It adds the current year to the log file date, unless the result is greater than the current system date,
in which case the previous year is added to the log file date to generate the creationTime property.
- com.ibm.etools.logging.adapter.parsers.SyslogTimeFormatExtension
- This class parses the time format for all syslog logs.
It adds the current year to the log file date, unless the result is greater than the current system date,
in which case the previous year is added to the log file date to generate the creationTime property.
Related concepts
Overview of Generic Log Adapter
Adapter configuration editor
Related tasks
Deploying the log parser plug-in project
Creating a log parser
Creating a rules-based adapter
Related reference
Adapter configuration file structure
Regular expression grammar
Common Base Event format specification
Best practices for Common Base Event and Common Event Infrastructure
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.