Configuring the adapter Contexts and Configuration for a static adapter
Prerequisites:
Create an Adapter Configuration FileThe static parser uses a Java class to parse a log file. The Extractor, Parser and Formatter components in the Configuration Context Instance are replaced by custom Java code. The corresponding components in the Contexts section need to removed. To configure the adapter configuration file for a static adapter:
- Expand the node Contexts > Contexts Basic Context Implementation. The Basic Context Implementation details are shown in the right pane.
- Select Component Regular Expression Extractor,Component Generic Parser and Component CBE Formatter.
- Right-click and select Delete. The three components are removed from the Context.
- Expand the node Configuration > Context Instance.
- Select the Extractor, Parser and Formatter components.
- Right-click and select Delete. The three components are removed from the configuration.
The next step in creating a static log parser is to write the Java class for the static parser.
Related Concepts
Overview of the Hyades Generic Log Adapter
Common Base Event format specification
Related tasks
Creating a log parser
Creating a static adapter
Writing a Java class for the static parserRelated references
Adapter Configuration File structure