Configuring the outputter component for a rules-based parser

Prerequisites:

The outputter writes Common Base Event records provided by the formatter to an external source. The formatter is the component that takes the output provided by the parser and builds the correct Java object instance. The adapter runtime contains only a single pre-configured formatter that creates Common Base Event objects. To configure the outputter:

  1. In the left pane of the Adapter Configuration Editor, select Configuration > Context Instance > Outputter. The right pane displays the outputter information.
  2. Select a type from the Outputter type list. In the example below, LoggingAgentOutputter is selected. This outputter writes the resulting Common Base Event records to a logging agent that can be monitored in the Profiling and Logging perspective to view the log data.

    Outputter Configuration

  3. To add a new property,...

    1. Select Configuration > Context Instance > Outputter.
    2. Right-click to bring up the pop-up menu.Select Add > Property. The right pane refreshes with fields to enter the property name and value.
    3. Type the name and value of the property.
    4. Save the adapter configuration file to apply the changes.
    Refer to Outputter types and required properties to view the required properties for each outputter type.
  4. If the Outputter type is changed in the Configuration Context instance, the Outputter component in the Contexts node needs to be updated as well.  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, Description and Executable Class for the Outputter.
    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 rules-based adapter
Configuring the plug-in manifest file

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