Administer > Configure Streaming of Logs > Configure Data Forwarding policy

Configure Data Forwarding policy

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

  1. Open the Management Templates & Aspects pane:

    Click Administration > Monitoring > Management Templates & Aspects.

  2. In the Configuration Folders pane, expand Cloud Management > AWS > AWS Aspects.
  3. In the Management Templates & Aspects pane, select the AWS Log Streaming Aspect and click Edit Item.
  4. In the Policy Templates tab, select the AWS_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 Name field, specify a name for the target.
    2. In the Description field, specify description.
    3. In the URL field, specify the FQDN of the endpoint target to forward the log data.
    4. Select the Wire Format. By default, JSON is supported in OMi MP for AWS.
  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 a value.
      3. In the Operator, select the operator.
      4. In Operand field, enter a value.

      By default, device_vendor=AWS 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.