Configuring the outputter component for a rules-based parser
The outputter writes Common Base Event records provided by the formatter
to an external destination. 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.
Prerequisites:
To configure the outputter:
- In the left pane of the Adapter Configuration Editor,
select Configuration > Context Instance > Outputter.
The right pane displays the outputter information.
- 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.

- To add a new property, follow these steps:
- Select Configuration > Context Instance > Outputter.
- 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.
- Type the name and value of the property.
- 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.
- 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.

- 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.
- Save the adapter configuration file changes.
Note: If this parser will be used as a log parser extension to the Log Import Wizard of Log and Trace Analyzer, then the Outputter instance must be configured as an undeclared Outputter type and the Outputter component execution class must be specifed as org.eclipse.hyades.logging.adapter.config.outputters.StaticParserOutputter.
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
Configuring the plug-in manifest file
Creating a log parser
Creating a rules-based adapter
Related references
Adapter Configuration File structure
Adapter Configuration Editor
Regular expression grammar
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.