Administer > Configure Streaming of Logs > Configure Log Streaming policy

Configure Log Streaming Policy

AWS_LogStreaming policy collects data from /var/opt/OV/log/AWS/AWSCloudWatchLog.log file at an interval of 5 minutes. An event is generated if the log file does not exist in the specified location. The data collected is structured as <custom_string1><custom_string2><custom_string3><custom_string4><message><timestamp>. This log file structure must not be modified.

In this instance:

<custom_string1> is AWS Account ID
<custom_string 2> is AWS Region
<custom_string3> is Group Name
<custom_string4> is the Stream Name

By default, data log file is collected from last entry before deploying the AWS Log Collection Aspect. If you need to load the data from the beginning of the log file, then you can configure the policy.

Follow the steps to configure the policy:

  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 Collection Aspect and click Edit.
  4. In the Policy Templates tab, select the AWS_LogStreaming policy and click > Edit Policy Template. The AWS_LogStreaming - Edit window opens.
  5. In the Source tab, based on the requirement, select either Read from beginning (first time) or Read from beginning (always) option.

    Caution Make sure not to modify any other default setting related to data field in source, schema or mapping tab.

  6. Click Save and Close.

The policy with version incremented by 0.1 is created.