Help Center> Cloud Eye> User Guide> Viewing Alarm History> Configuring OBS Data Storage

Configuring OBS Data Storage

Scenarios

On Cloud Eye, the raw data retention period for each metric is two days. Raw data with a retention period of more than two days will not be saved. After enabling Object Storage Service (OBS), you can save raw data for a longer period of time by synchronizing them to OBS.

This topic describes how to configure data storage.

Prerequisites

  • A cloud service is enabled.
  • OBS has been enabled.

Procedure

  1. Log in to the management console.
  2. Under Management & Deployment, select Cloud Eye.
  3. In the navigation pane on the left, choose Cloud Service Monitoring. Locate the target resource and click Configure Data Storage in the Operation column.

    Alternatively, in the navigation pane on the left, choose Server Monitoring. Locate the target ECS. In the Operation column, click Configure Data Storage.

  4. (Optional) Configure data storage in batches.

    On the Cloud Service Monitoring page, select the target cloud service resources and click Configure Data Storage.

    Alternatively, on the Server Monitoring page, select the target ECSs and click Configure Data Storage.

  5. In the displayed Configure Data Storage window, set parameters based on Table 1:
    Table 1 Parameters for Configure Data Storage

    Parameter

    Description

    Example Value

    Transfer Trace to OBS

    Specifies whether to transfer trace to OBS. Its value can be Configure or Not required.

    Configure

    Create OBS Bucket

    If an OBS bucket exists, you do not need to create another buckets.

    Yes

    OBS Bucket for Storing Traces

    If there is no OBS bucket, enter the name of the OBS bucket to be created.

    If there are OBS buckets, select one.

    ecs-0615

    File Prefix

    The metric data file prefix enables you to distinguish Cloud Eye data files from other files in the OBS bucket.

    ecs-0615

    • OBS will grant read and write permissions to Cloud Eye for the selected bucket. Exercise caution when modifying the bucket policy to prevent data transfer failures.
    • For security purposes, set Storage Class to Standard and Bucket Policy to Private.
    • If the configured dump policy is disabled for more than 7 days, it will be cleared by default. If you need to use the dump policy, reconfigure it.
    • If the user account is frozen for more than two hours, the function of transferring data to OBS is disabled. If you want to use this function, unfreeze the account and enable the function again.
  6. Click OK.

    After the configuration, the system automatically dumps monitoring data to the OBS bucket every two hours, for example, 00:00 and 02:00.