A word cloud visualizes keyword frequency in text data, using font size or color to indicate each word's importance.
Introduction
A word cloud renders text data as a cloud-shaped graphic in which font size or color reflects each word's relative weight. Words are positioned and scaled based on their computed values.
Configuration example
Log on to the Simple Log Service console. In the Projects section, click the project you want.

-
In the left-side navigation pane, choose . In the Dashboard list, click the dashboard you want. In the upper-right corner of the dashboard page, click Edit. In edit mode, choose .
-
In the Chart Type area on the right, select the word cloud icon
. Configure the Word Cloud Configurations and Query and Analysis Configurations. On the left, configure the query time range, Logstore, and query and analysis statement. Click Apply at the top of the page to view the chart.In Word Cloud Configuration, set Layout to Rectangle, Font Style to normal, Font to SourceHanSerifCN, Color Scheme to Built-in, and Rotation Angle to Random. In Query and Analysis Configurations, set Word Column to region and Value Column to cnt. Select 15 Minutes (Relative) for the query time range.
Example query to analyze event distribution by region:
* | select "event.acsRegion" as region, count(1) as cnt group by region order by cnt DESC limit 20
General configurations
Global settings for the word cloud chart.
-
Basic configurations
Parameter
Description
Title
The chart title.
Display Title
Displays the chart title when enabled.
Display Border
Displays a border around the chart when enabled.
Display Background
Displays a background color in the chart when enabled.
Display Time
Displays the query time in the chart when enabled.
Fixed Time
Fixes the query and analysis time range so that it is not affected by the global time of the dashboard.
-
Word cloud configurations
Parameter
Description
layout
Word layout. Valid values: Rectangle and Spiral.
font style
The font style. Valid values: normal, italic, and oblique.
font
Font for displayed words.
color scheme
Color scheme. Valid values: Built-in, Classic, and Soft.
rotation angle
Word rotation angle. Valid values: Random and Custom.
-
Query and analysis configurations
Parameter
Description
Word Column
Column containing the words to display.
Value Column
Column containing the numeric value for each word.
-
Variable replacement
Parameter
Description
Variable Replacement
Adds a variable filter (configured in the General Configurations section). When you select a filter value, Log Service automatically replaces the corresponding variable in the query statement and reruns the query. Example 2: Set variable replacement.
-
Documentation link
Parameter
Description
Add Documentation Link
Adds a custom link or description to the upper-right corner of the chart.
Interaction events
Interaction events enable drill-down from query results or individual columns into deeper analysis views. Supported events: Open Logstore, Open Saved Search, Open Dashboard, Open Trace Analysis, Open Trace Details, and Create Custom HTTP URL. Add interaction events to a dashboard for drill-down analysis.
For example, if you set the interaction event for query analysis A to Open Logstore, clicking a data point and then selecting Open Logstore redirects you to the configured Logstore.