The Mappings page enables you to map the log file input data properties, which are the structural fields extracted from log files, to custom variables.
In the BSM Connector user interface, click in the toolbar. Then click Generic output >
Structured Log File.
Alternatively, double-click an existing policy to edit it.
Click Mappings to open the policy Mappings page.
The key field mapping consists of an input field qualifier, an eligible field name, and a mapped field name. To map the key field, map the eligible field name to the mapped field name. The eligible field name is automatically extracted from the input field qualifier.
For example, if the input data has the structure evt/event_type
, the eligible field is event_type
. This field is then mapped, for example to the field eventType
.
You can add additional fields to data that is sent to Data Forwarding targets. Additional fields are simple key-value pairs and you must manually add both the keys and values. If a defined key field name equals a field name in the mapped data set, it is discarded.
Additional fields are added as immediate children of the highest level element.
The actual field value can consist of user defined strings and data references to the input data (<$DATA:…>
).
Example:
Additional Field Name |
Additional Field Value |
---|---|
combined_text | At <$DATA:/evt/time_occured> , <$DATA:/evt/event_type> detected an <$DATA:/evt/event_impact> impact on system performance. This has happened <$DATA:/evt/event_counter> times. |
The data references in the additional field combined_text
are replaced when the policy is run. In the above example, after the variables are replaced, the resulting value in the field combined_text
is:
At 12/05/2015 14:01:39, Monitoring: Threshold violation detected an substantial impact on system performance. This has happened 8264 times.
Note that data references must refer to the input format, not the mapped format.
This task describes how to map key fields.
Create one or more key field mappings.
If you are working with meta data, drag the table column from the Meta Data list to the Input Field Qualifier column. BSM Connector automatically extracts the eligible field name.
Alternatively, click above the Input Field Qualifier column and type the qualifier in the input field qualifier.
Optionally, change the Keep all input fields setting. By default, the option is selected and all fields are kept, regardless whether they are mapped or not. To keep only the mapped fields, deselect the option.
This section includes:
Meta Data tab
UI Element | Description |
---|---|
Input Data Properties | TBD |