Updated on 2026-11-20 GMT+08:00

Data Transfer

Enterprise applications, including DBSS and API Data Security Gateways, continuously generate massive volumes of access logs capturing user operations. However, because these logs are stored in isolation, security teams struggle to reconstruct complete user access paths, making it difficult to trace security incidents, locate problems, visualize data lineage, or detect abnormal behavior or risks in a timely manner. To correlate multi-source log data and enable end-to-end behavior tracking, DSC aggregates logs across applications to dynamically trace user access paths. This enables incident source tracing, risk locating, clear visibility into data flows, and early detection of exceptions and security risks.

  1. Call chain data collection: DSC collects log data of each application.
  2. Trace data storage and query: The collected data needs to be stored. The log data volume is large. Therefore, both storage and quick query are required.
  3. Call chain data generation: DSC analyzes the data link flow of the collected and reported logs and draws the flow diagram.
  4. Counter calculation, storage, and query: Calculates various counters based on the collected log data and saves the calculation results.

Concepts

Table 1 Basic concepts

Concept

Description

Call chain

A call chain represents the end-to-end execution path of user requests across multiple service components, such as databases and API gateways.

Data flow

A data flow indicates the path of data movement between nodes, represented by an arrow in the flow diagram.

Prerequisites

DBSS has been enabled and the database instance has been installed. For details about how to enable DBSS, see Purchasing Database Audit.

Enabling Transfer Log Collection

After you enable the collection of data flow logs of an instance, DSC performs data flow analysis on the collected logs and draws a flow diagram. It calculates various metrics based on the log data and saves the results.

  1. Log in to the DSC console.
  2. Click in the upper left corner of the management console and select a region or project.
  3. In the navigation pane on the left, choose Data Security Operations > Data Transfer. The Data Transfer Analysis tab page is displayed.
  4. Click the Transfer Log Collection tab page. For details, see Table 2.

    Table 2 Instance list

    Parameter

    Description

    Instance Name/ID

    Instance name of the interconnected microservice, for example, DBSS. If no instance is available, buy one.

    Instance Type

    Instance type, which can be DBSS.

    • DBSS: Database Security Service. It provides database security audit, database encryption and access control, and database O&M services.
    • ADG: API data security gateway. It is used to protect and audit API access.

    Instance Status

    Status of an instance

    • Not Opened: Data transfer log collection is not enabled.
    • Opening: Data transfer log collection is being enabled.
    • Open Failed: Failed to enable data transfer log collection.
    • Running: Data transfer log collection is enabled successfully.
    • Offline: The instance status is abnormal and no heartbeat message is received.
    • Disabling Failed: Failed to disable data transfer log collection.
    • Disabling: Data transfer log collection is being disabled.
    • Abnormal: The instance status is abnormal.

    Last Heartbeat Time

    Time when DSC was connected to the instance last time.

  5. In the Data transfer log collection status column, click to enable log collection.

    You can also select multiple instances and click Batch Enable Transfer Collection in the upper left corner to enable log collection for them at a time.

Checking Data Transfer Analysis Results

End-to-end cloud data flow monitoring involves the following phases:

  • Analyze transfer paths between the cloud database, data source, and destination server.
  • Analyze data transfers between servers and the gateway based on the API Gateway configuration.
  • Perform full-link association analysis to measure and map the complete, real-time cloud data flow.
  1. Log in to the DSC console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane on the left, choose Data Security Operations > Data Transfer. The Data Transfer Analysis tab page is displayed.
  4. Hovering over a transfer stream displays its transmission encryption status and the total accesses. The color of the connection line indicates its current encryption status: red for unencrypted, green for fully encrypted, and yellow for partially encrypted.

    The data transfer analysis function provides multi-dimensional filter criteria (DB instance, ECS instance, egress type, external IP address, sensitivity level, and sensitivity tag) and custom time ranges. These filters enable you to quickly query and trace data movement paths and sensitive data exfiltration events over specific periods, supporting comprehensive security auditing and risk control.

    Transfer diagram description: The transfer diagram displays the data flow paths and access relationships between instances such as cloud databases, cloud servers (ECS), API Gateway, load balancers (ELB), and egress gateways (ADG). The system automatically identifies and marks the storage encryption and transmission encryption statuses of each node. It highlights security risks (such as unencrypted storage and transmission) in red and counts risky accesses. This helps you quickly understand the data transfer paths and security posture within the cloud, providing a basis for data security governance.

Disabling Data Transfer Log Collection

After this function is disabled, transfer logs cannot be collected. Exercise caution when performing this operation.

  1. Log in to the DSC console.
  2. Click in the upper left corner and select a region or project.
  3. In the navigation pane on the left, choose Data Security Operations > Data Transfer. The Data Transfer Analysis tab page is displayed.
  4. On the Transfer Log Collection tab page, click in the Data transfer log collection status column of an instance to disable log collection. You can also select multiple instances and click Disabling Transfer Collection in Batches to disable log collection for them at a time.

References