Configuring the outputter component for a static adapter

The outputter writes the resulting Common Base Event records provided by the formatter to an external destination.

Prerequisites:

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.
  6. Save the adapter configuration file changes.
  7. To test that your log parser is processing the log file correctly, click the Re-run adapter  Picture of the Rerun adapter icon. The results will be shown in the Sensor Result and the Formatter Result views.
  8. Click the Show Next Event  Picture of the Show Next Event icon to see each of the log records that have been processed.
    Hint: To change the number of result entries that are available for viewing click on the Generic Log Adapter preferences icon gla preferences icon to launch the preferences page.

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