Enterprise information systems of all kinds generate various types of log files such as access logs, activity logs and error logs. These log files usually contain log records constructed in proprietary formats. The lack of a common convention for logging makes cross-system analysis such as event correlation very difficult.
With the aid of the Generic Log Adapter framework, programmers can contribute static parsers and parsers based on pre-defined rules to the Import wizard in the Log and Trace Analyzer tool. In a rule-based parser, an adapter configuration file containing parsing rules expressed in regular expression grammar is provided to the Generic Log Adapter engine. In a static parser, the adapter configuration file contains a reference to a JavaTM class that performs the log file parsing.
The topic Creating a log parser provides details on how to create a log parser for Log and Trace Analyzer.
Autonomic Computing provides a set of log parsers that extend Log and Trace Analyzer. They are located in the com.ibm.etools.logging.parsers Eclipse plug-in. The logParser extension point specifications for these log parsers are found in the plugin.xml file of this plug-in. The plug-in also contains the static parser classes, and rules-based and static adapter configuration files associated with these log parsers. The topic Adapter configuration file samples lists the adapter configuration files for the log parsers provided by Autonomic Computing. You can refer to these log parsers examples to help you create your own log parsers.
(C) Copyright IBM Corporation 2000, 2006. All Rights Reserved.