The outputter writes Common Base Event records provided by the formatter
to a 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.
To configure the outputter:
- Select Contexts > Context Basic Context Implementation > Component 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. In the example below, the outputter has been changed to use
the LogImportOutputter which receives Common Base Event instances and writes the externalized records to the Log Import
loader of the Log and Trace Analyzer.

- If the Outputter type is changed in the Contexts node, the Outputter component
in the Configuration Context instance needs to be updated as well.
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. For the LogImportOutputter,
select undeclared from the list.
- Refer to Outputter types and required properties
to view the required properties for each outputter type. 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.
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 specified as
org.eclipse.hyades.logging.parsers.adapter.outputters.LogImportOutputter.
- Save the adapter configuration file changes.
Parent topic: Creating
a rules-based adapter
Copyright © 2005 IBM Corporation. All rights reserved. This document
and the accompanying materials are made available under the terms of the
Eclipse Public License v1.0 which is
available at http://www.eclipse.org/legal/epl-v10.html