tencent cloud

Cloud Log Service

Sankey diagram

Download
Focus Mode
Font Size
Last updated: 2026-05-12 20:09:02
A Sankey diagram is a special type of flow diagram used to describe the flow of one set of values to another set. It is suitable for directional statistics scenarios, such as firewall source and destination IP traffic.

Operation Steps

1. Log in to the CLS console, choose Dashboard > Dashboard List, and then select the dashboard you want to view.
2. Click Add Chart to create a chart, and select Sankey Diagram as the chart type.
3. Configure the chart as needed.

General Configuration

Configuration Item
Description
Basic Info
Chart Name: Set the display name of the chart, which can be left empty.
Chart Style
Sankey Diagram Direction: Set the display direction of the Sankey diagram.
Standard Configuration
Set the unit for all metric-type fields within the chart. For details, see Unit Configuration.

Statistical Analysis Fields

A Sankey diagram must have a source field, a destination field, and a metric field. When a data mismatch occurs, you need to manually select the appropriate statistical analysis fields.
Configuration Item
Description
Beginning Field
A field representing the start point. By default, the first field of the string data type is selected. If no such field is available, you must manually specify a field.
Endpoint Field
A field representing the end point. By default, the second field of the string data type is selected. If no such field is available, you must manually specify a field.
Metric Field
Numerical field. By default, fields with the number data type are selected. If no number field exists, you must manually specify a field.
Sankey diagram direction examples:




Statement Example

Collect statistics of the traffic distribution between top visitors and destination IP addresses:
* | select sum(bytes_sent) as "traffic", remote_addr as "source_IP_address", http_host as "destination_IP_address" group by "source_IP_address", "destination_IP_address" order by "traffic" desc limit 20



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback