Writng a Java class for the static adapter

In creating a static log parser, the extractor, parser and formatter components of the adapter configuration file are replaced with a Java class. The static parser class must implement the interface org.eclipse.hyades.logging.parser.IParser. This can be done by extending the abstract class org.eclipse.hyades.logging.parser.Parser. The following is the standard format required by the Java class.

Once you have written and tested your Java parser class, you can configure the sensor component of the adapter configuration file to refer to this class. .

Related Concepts
Overview of the Hyades Generic Log Adapter
Common Base Event format specification

Related tasks
Creating a log parser
Creating a static adapter
Configuring the sensor component

Related references
Adapter Configuration File structure
Adapter Configuration Editor
Regular expression grammar