This task describes how to collect metrics from structured log files.
Note: For examples and end-to-end workflow information on collecting metrics data, see Collecting and Viewing Metrics Data.
Prerequisite: Make sure the following applies:
Your BSM Connector is configured to work with OMi by using the bsmc-conf
tool.
The certificate request is approved on the OMi side.
Your BSM Connector is set up as a connected server in OMi.
In the BSM Connector user interface, click in the toolbar. Then click Metrics >
Structured Log File.
Alternatively, double-click an existing policy to edit it.
In the Properties page, define information that is related to the policy itself (for example, the name and description of the policy).
For details, see Configuring Structured Log File Policy Properties.
In the Source page, define the structure pattern of the log file by using either the OM pattern-matching language or static fields. Additionally define the possible recurring fields.
For details, see Configuring Data Source in Structured Log File Policies.
In the Mappings page, map the structured log file's input data properties to custom variables.
For details, see Configuring Mappings in Structured Log File Policies (Event and Metrics Only) .
Optional. In the Defaults page, assign default values to the metric attributes.
For details, see Configuring Metrics Defaults in Structured Log File Policies.
In the Rules page, define what the policy should do in response to a specific metric.
For details, see Configuring Metrics Rules in Structured Log File Policies.
Click Save and Close to save the policy and close the editor.
Optional. If the list of policies does not refresh automatically in the BSM Connector user interface, click in the toolbar.