Creating a rules-based adapter
Prerequisites:
Setting up a log parser plug-in project for a log parserA rule-based adapter uses regular expression rules to parse log file information and formats this information into the Common Base Event format. This type of adapter can usually be used for application log files that have a fixed log record format. The following illustrates the steps required in creating a rules-based adapter.
- Create the adapter configuration file.
- Configuring the context instance.
- Configure the sensor component.
- Configure the extractor component.
- Configure the parser component.
- Configure the outputter component.
Once you have completed the above steps, you can proceed to configure your plug-in project's manifest file to use your rule-based adapter.
Related Concepts
Overview of the Hyades Generic Log Adapter
Related tasks
Creating a log parser
Configuring the plug-in manifest file
Creating a static adapter using the static parser Java classRelated references
Adapter Configuration File structure
Common Base Event format specification