Administer > Policies > Structured Log File Policies > How to Collect Metrics Data from Structured Log Files

How to Collect Metrics Data from Structured Log Files

This task describes how to collect metrics from structured log files.

For examples and end-to-end workflow information on collecting metrics data, see Collecting Metrics Data topic.

  1. Prerequisite: Make sure the following applies:

    1. Your Operations Connector is configured to work with OMi by using the bsmc-conf tool.

    2. The certificate request is approved on the OMi side.

    3. Your Operations Connector is set up as a connected server in OMi.

  2. In the Operations Connector user interface, click Create in the toolbar. Then click Metrics > Log file Structured Log File.

    Alternatively, double-click an existing policy to edit it.

  3. In the Properties page, define information that is related to the policy itself (for example, the name and description of the policy).

  4. 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.

  5. In the Mappings page, map the structured log file's input data properties to custom variables.

  6. Optional. In the Defaults page, assign default values to the metric attributes.

  7. In the Rules page, define what the policy should do in response to a specific metric.

  8. Click Save and Close to save the policy and close the editor.

  9. Optional. If the list of policies does not refresh automatically in the Operations Connector user interface, click Refresh in the toolbar.

Related topics

Configuring Structured Log File Policy Properties

Configuring Data Source in Structured Log File Policies

Configuring Metrics Defaults in Structured Log File Policies

Configuring Metrics Rules in Structured Log File Policies