Configuring the adapter Contexts and Configuration for a static adapter

The 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:

  1. Expand the node Contexts > Basic Context Implementation. The Basic Context Implementation details are shown in the right pane.
  2. Select Regular Expression Extractor,Generic Parser and CBE Formatter.
  3. Right-click and select Delete. The three components are removed from the Context.
  4. Expand the node Configuration > Context Instance.
  5. Select the Extractor, Parser and Formatter components.
  6. Right-click and select Delete. The three components are removed from the configuration.

    The extractor, parser and formatter components are removed from the context and the configuration

The next step in creating a static log parser is to write the Java class for the static parser.

Parent topic: Creating a static adapter