A word cloud displays the frequency distribution of keywords in text data, using font size or color to indicate importance.
Introduction
A word cloud displays text data as a cloud-shaped graphic where font size or color reflects each word's importance. Words are arranged based on data calculations.
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
Set the title of the chart.
Display Title
When you turn on the Display Title switch, the title is displayed in the chart.
Display Border
When you turn on Display Border, a border is displayed in the chart.
Display Background
After you turn on the Display Background switch, a background color is displayed in the chart.
Display Time
After you turn on the Display Time switch, the query time is displayed in the chart.
Fixed Time
After you turn on the Fixed Time switch, the time range for the query and analysis is fixed and 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 let you drill into query results or individual columns for deeper analysis. 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.