Configuring the outputter component for a static adapter

Prerequisites:

The outputter writes the resulting Common Base Event records provided by the formatter to an external source. The formatter is the component that receives the output provided by the parser and builds the correct Java object instances. The adapter runtime contains only a single pre-configured formatter that creates Common Base Event objects. The outputter can be configured as follows for a static adapter:

  1. In the left pane of the Adapter Configuration Editor, select Configuration > Context Instance > Outputter. The right pane displays the outputter information.
  2. Select undeclared from the Outputter type list. There is no defined type for a static parser outputter. Update the description field to indicate it is a static parser outputter

    Outputter Configuration

  3. The static parser outputter does not require any additional properties. To remove any existing outputter properties, follow these steps:
    1. Select Configuration > Context Instance > Outputter.
    2. Select a property and right-click to bring up the pop-up menu. Select Delete. The property is removed from the Outputter.
    3. Save the adapter configuration file to apply the changes.
  4. Select Contexts > Context Basic Context Implementation > Component Hyades Logging Agent Outputter . The details of the outputter component are shown in the right pane.

    Outputter component of the context is opened in the right pane

  5. Update the Name, and Description. Update the Executable Class to org.eclipse.hyades.logging.adapter.config.outputters.StaticParserOutputter.
    Note: Please refer to the Configuration file structure reference to obtain the correct name of outputter classes to use.
  6. Save the adapter configuration file changes.

Once the outputter is configured, you need to configure the plug-in manifest file for the log 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
Configuring the plug-in manifest file

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