Additional Mapping Considerations - IBM Enterprise Console Manual

Ibm enterprise console adapters guide
Table of Contents

Advertisement

Additional Mapping Considerations

Specify only one mapping for each BAROC file attribute.
A mapping can be inherited from a more generic format specification (using the
FOLLOWS keyword) or can be explicitly defined on the format specification that
directly matches the message.
Because the adapter does not access the BAROC file, which resides on the event
server, care must be taken to make sure that the format specifications agree with
the corresponding BAROC file definitions. If an attribute name is misspelled in a
mapping, the adapter will not report an error and will send the event to the event
server as usual; however, the event will be discarded by the event server because it
does not exactly match a class definition.
There can be attributes in the system log message that do not directly correspond
to any BAROC file attributes because the adapter might need to use these values
to compose PRINTF style constant strings for assigning to attributes. This type of
data needs to be assigned to temporary attributes that do not get sent to the event
server, but are used in the PRINTF statement. Temporary attributes are designated
with a hyphen (-) immediately preceding the attribute name in a mapping.
In order to illustrate the use of mappings in format specifications, a sample from
the default tecad_logfile.fmt file is shown following with a few additions.
Now, assume that the following system log message is received by the log file
adapter:
151
Appendix B. Format File Reference

Advertisement

Table of Contents
loading

Table of Contents