Administer > Configure Streaming of Logs > Configure Data Forwarding policy

Configure Data Forwarding policy

This policy forwards the data received from log data collector to a target server.

  1. Open the Management Templates & Aspects pane:

    Click Administration > Monitoring > Management Templates & Aspects.

  2. In the Configuration Folders pane, expand Infrastructure Management > Systems Infrastructure Aspects.
  3. In the Management Templates & Aspects pane, select the System Log Collection Aspect and click Edit Item.
  4. In the Policy Templates tab, select the Sys_DataForwarding policy and click Edit Policy Template.
  5. In the Targets tab, select the Target server in the Data Forwarding Targets pane. Specify the FQDN along with port for the target in the URL field.

    Follow the steps to add multiple target server:

    1. In the Data Forwarding Targets pane, click New Item.
    2. In the Name field, specify a name for the target.
    3. In the Description field, specify a description for the target.
    4. In the URL field, specify the FQDN of the endpoint target to forward the log data.
    5. Select Wire Format. By default, JSON is the wire format supported in OMi MP for Infrastructure.
  6. In the Structured input tab, specify the following:

    1. Click Create New Rule > Forward on matched. The Forwarding Rule Details section is enabled.
    2. In the Property tab, specify a description for the condition.
    3. In the Condition tab, follow the steps:

      1. Click Create New Expression. The equals option is displayed.
      2. Expand the equals and in the Property field, enter an value.
      3. In the Operator, select the operator.
      4. In Operand field, enter the value.

      By default, device_vendor=Infrastructure is the out of the box defined expression.

      Create new expression with different values and operator. You can enter the name of the property or drag it from the Meta Data tab (right pane).

    4. In the Targets tab, select the required target.
  7. Click Save and Close.

The policy with version incremented by 0.1 is created.