tencent cloud

Cloud Log Service

Release Notes and Announcements
Release Notes
Announcements
User Guide
Product Introduction
Overview
Features
Available Regions
Limits
Concepts
Service Regions and Service Providers
Purchase Guide
Billing Overview
Product Pricing
Pay-as-You-Go
Billing
Cleaning up CLS resources
Cost Optimization
FAQs
Getting Started
Getting Started in 1 Minute
Getting Started Guide
Quickly Trying out CLS with Demo
Operation Guide
Resource Management
Permission Management
Log Collection
Metric Collection
Log Storage
Metric Storage
Search and Analysis (Log Topic)
Search and Analysis (Metric Topic)
Dashboard
Data Processing documents
Shipping and Consumption
Monitoring Alarm
Cloud Insight
Independent DataSight console
Historical Documentation
Practical Tutorial
Log Collection
Search and Analysis
Dashboard
Monitoring Alarm
Shipping and Consumption
Cost Optimization
Developer Guide
Embedding CLS Console
CLS Connection to Grafana
API Documentation
History
Introduction
API Category
Making API Requests
Topic Management APIs
Log Set Management APIs
Index APIs
Topic Partition APIs
Machine Group APIs
Collection Configuration APIs
Log APIs
Metric APIs
Alarm Policy APIs
Data Processing APIs
Kafka Protocol Consumption APIs
CKafka Shipping Task APIs
Kafka Data Subscription APIs
COS Shipping Task APIs
SCF Delivery Task APIs
Scheduled SQL Analysis APIs
COS Data Import Task APIs
Data Types
Error Codes
FAQs
Health Check
Collection
Log Search
Others
CLS Service Level Agreement
CLS Policy
Privacy Policy
Data Processing And Security Agreement
Contact Us
Glossary

Adding Chart

PDF
Focus Mode
Font Size
Last updated: 2024-01-20 17:31:30
CLS supports visual chart statistics of search and analysis results, and saves statistical charts to dashboards for continuous monitoring and viewing. A dashboard also provides an entry for creating statistical charts, supporting simple chart creation and custom chart creation.

Directions

Adding a chart via the Search and Analysis page

Note:
In this mode, you need to search for data to generate chart content. For more information, see here.
1. Log in to the CLS console.
2. On the left sidebar, click Search and Analysis to go to the search and analysis management page.
3. Click the Chart Analysis tab and click Add to Dashboard.
4. In the pop-up window, enter information and click OK.


Form Element
Description
Chart Name
The chart name.
Target Dashboard
The dashboard type of the chart. If you select **To an existing dashboard**, the chart will be added to an existing dashboard. If you select **Create Dashboard**, you need to create a dashboard and add the chart to it.
Dashboard
The dashboard name.

Adding a chart via the Dashboard page

1. Log in to the CLS console.
2. On the left sidebar, click Dashboard to enter the dashboard management page.
3. Click the ID/name of the target dashboard to enter the dashboard details page.
Note:
If you do not have a dashboard, create one.
4. Click Create and select a chart type as needed to create a chart.


Quick Chart: You can drag and drop to easily create charts. However, this mode supports weaker statistical and analytical features.


Chart Element
Description
Field
The list of current log topic fields. You can click or drag and drop a field to the condition input box on the right.
Metric
A metric measures a certain characteristic of an item, generally a numeric field. You can drag and drop a field from the field list on the left or click the "+" icon to display a drop-down list to select a field. After adding a field, you can click the settings icon next to the field to modify the field's aggregate calculation mode, which is "AVG" by default.
Dimension
A dimension is the perspective for analyzing a metric. It is generally a string-type field describing the attributes of an item. You can drag and drop a field from the field list on the left or click the "+" icon to display a drop-down list to select a field.
Filter
A filter field filters data attributes. You can drag and drop a field from the field list on the left or click the "+" icon to display a drop-down list to select a field. After adding a field, you can click the settings icon next to the field to modify the field filter mode, which is "Exist" by default.
Sort
A sorting field sorts statistical results. Only specified condition fields can be sorted. We recommend you click the "+" icon to display a drop-down list to select a field. After adding a field, you can click the settings icon next to the field to modify the sorting mode, which is "Ascending" by default.
Row quantity limit
Row quantity limit filters the number of statistical results. After it is set, a certain number of statistical results will be displayed in reverse order. The valid range is 1–1,000, and the default value is `1000`.
Custom Chart: You can customize a search statement to create charts. This mode supports all statistical and analytical features. Enter the search statement to automatically generate a chart.


5. Check whether the data configuration meets the requirements. The system will automatically fill in data based on the chart data structure. If the data type doesn't match, you need to convert the data manually and adjust the configuration. For more information, see Data conversion.


6. Click Save.

Help and Support

Was this page helpful?

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

Feedback