Cloud Log Service

Operation Guide

Product Documentation

Copyright Notice

©2013-2025 Tencent Cloud. All rights reserved.

Copyright in this document is exclusively owned by Tencent Cloud. You must not reproduce, modify, copy or distribute in any way, in whole or in part, the contents of this document without Tencent Cloud's the prior written consent.

Trademark Notice

All trademarks associated with Tencent Cloud and its services are owned by the Tencent corporate group, including its parent, subsidiaries and affiliated companies, as the case may be. Trademarks of third parties referred to in this document are owned by their respective proprietors.

Service Statement

This document is intended to provide users with general information about Tencent Cloud's products and services only and does not form part of Tencent Cloud's terms and conditions. Tencent Cloud's products or services are subject to change. Specific products and services and the standards applicable to them are exclusively provided for in Tencent Cloud's applicable terms and conditions.

Contents

Operation Guide

Resource Management

Logset

Last updated:2024-01-20 16:42:10

Log Topic

Last updated:2024-01-20 16:42:10

Metric topic

Last updated:2024-09-20 17:48:27

Topic Usage Monitoring

Last updated:2024-05-31 14:41:27

Machine Group Management

Last updated:2025-11-13 16:45:27

Permission Management

Sub-Account Authorization

Last updated:2024-01-20 16:56:41

Authorizable Resource Types

Last updated:2024-12-03 14:57:20

Access Policy Templates

Last updated:2025-11-18 11:23:06

Accessing CLS with a Temporary Key

Last updated:2025-10-22 17:08:23

Log Collection

Collection Overview

Last updated:2024-01-20 17:14:28

Collection by LogListener

Collection Mechanism

Last updated:2025-12-03 11:22:41

LogListener Use Process

Last updated:2024-01-20 17:14:28

LogListener Installation and Deployment

LogListener Installation Guide(Linux)

Last updated:2025-11-19 20:30:29

LogListener Installation Guide(Windows)

Last updated:2025-11-13 16:55:55

Batch Deploying LogListener in CVM and Lighthouse

Last updated:2024-01-20 17:14:28

Installing LogListener in Self-built Kubernetes Cluster

Last updated:2024-01-20 17:14:28

LogListener New Architecture Installation and Upgrade Guide

Last updated:2025-11-13 16:49:51

LogListener Upgrade Guide

Last updated:2025-11-19 19:49:42

LogListener Service Logs

Last updated:2024-01-20 17:14:28

Configuring Loglistener Heartbeat Monitoring Alarms

Last updated:2025-07-29 11:46:30

Importing LogListener Collection Configuration

Last updated:2024-01-20 17:14:28

LogListener Updates

Last updated:2024-01-20 17:14:28

Encrypted Storage Of Keys

Last updated:2025-04-18 16:19:02

Collecting Text Log

Full Text in a Single Line

Last updated:2024-01-20 17:14:28

Full Text in Multi Lines

Last updated:2024-01-20 17:14:28

Full Regular Expression (Single-Line)

Last updated:2024-01-20 17:14:28

Full Regular Expression (Multi-Line)

Last updated:2024-01-20 17:14:28

JSON Format

Last updated:2024-01-20 17:14:28

Separator Format

Last updated:2024-01-20 17:14:28

Combined Parsing Format

Last updated:2024-01-20 17:14:28

Configuring the Time Format

Last updated:2024-01-20 17:14:28

Custom Metadata

Last updated:2025-12-03 11:22:42

Collecting Logs in Self-Built Kubernetes Cluster

Configuring Log Collection in Self-Built Kubernetes Cluster in the Console

Last updated:2024-01-20 17:14:28

Configuring Log Collection in Self-Built Kubernetes Cluster via CRD

Last updated:2024-01-20 17:14:28

Collecting TKE Kubernetes Cluster Logs

Last updated:2025-12-03 11:22:42

Collecting Syslog

Last updated:2025-11-19 16:29:16

Collecting Windows Event Logs

Last updated:2025-04-18 16:20:44

Collecting NGINX Access Logs

Last updated:2025-12-03 11:22:42

Subscribing to MySQL Binlogs

Last updated:2025-12-03 11:22:42

Uploading Log over Kafka

Last updated:2025-11-26 10:31:16

Using Kafka Data Subscription for Log Collection

Last updated:2025-11-17 09:35:25

Uploading Logs via Anonymous Write

Last updated:2024-01-20 17:14:28

Uploading Logs via Logback Appender

Last updated:2024-01-20 17:14:28

Uploading Logs via Log4j Appender

Last updated:2024-01-20 17:14:28

Uploading Log via SDK

Last updated:2025-11-07 17:41:10

Uploading Log via API

Last updated:2025-11-19 19:25:38

Network Probing Access Guide for iOS/Android Mobile Devices

Last updated:2025-12-03 11:22:42

FluentBit Log Upload

Last updated:2025-12-03 11:22:42

Logstash Log Upload

Last updated:2025-12-03 11:22:42

Importing Data

Importing COS Data

Last updated:2024-01-20 17:14:28

Tencent Cloud Service Log Access

Last updated:2024-01-20 17:14:28

Global Accelerator Log Upload

Last updated:2025-12-03 11:22:42

Importing Data from Elasticsearch

Last updated:2025-12-03 11:22:43

Metric Collection

Metrics Reporting

Last updated:2024-09-20 17:48:27

Log Storage

Storage Class Overview

Last updated:2024-01-20 16:46:19

Data Encryption

Last updated:2023-02-16 17:31:08

Metric Storage

Metric Storage Overview

Last updated:2024-09-20 17:48:27

Compatible with Prometheus API

Last updated:2024-09-20 17:48:27

Metric Pre-aggregation

Last updated:2024-09-20 17:48:27

Search and Analysis (Log Topic)

Overview of Search and Analysis

Last updated:2024-12-20 16:11:32

Syntax and Rules

Last updated:2025-11-19 20:07:19

Statistical Analysis (SQL)

Quick Analysis

Last updated:2024-01-20 17:25:15

SQL Syntax

AS Syntax

Last updated:2024-01-20 17:25:15

GROUP BY Syntax

Last updated:2024-01-20 17:25:15

LIMIT Syntax

Last updated:2024-01-20 17:25:15

ORDER BY Syntax

Last updated:2024-01-20 17:25:15

SELECT Syntax

Last updated:2024-01-20 17:25:15

WHERE Syntax

Last updated:2024-01-20 17:25:15

HAVING Syntax

Last updated:2024-01-20 17:25:15

Nested Subquery

Last updated:2024-01-20 17:25:15

SQL Functions

String Function

Last updated:2025-11-19 20:07:19

Date and Time Functions

Last updated:2024-03-20 11:47:49

IP Geographic Function

Last updated:2024-03-20 11:47:49

URL Function

Last updated:2024-03-20 11:47:49

Mathematical Calculation Functions

Last updated:2024-03-20 11:47:49

Mathematical Statistical Function

Last updated:2024-03-20 11:47:49

General Aggregate Function

Last updated:2024-03-20 11:47:49

Geospatial Function

Last updated:2024-03-20 11:47:49

Binary String Function

Last updated:2024-03-20 11:47:49

Estimation Function

Last updated:2024-01-22 10:52:48

Type Conversion Function

Last updated:2024-01-22 10:52:48

Logical Function

Last updated:2024-01-22 10:52:48

Operators

Last updated:2024-01-22 10:52:48

Bitwise Operation

Last updated:2024-01-22 10:52:48

Regular Expression Function

Last updated:2024-01-22 10:52:48

Lambda Function

Last updated:2024-01-22 10:52:48

Conditional Expressions

Last updated:2024-01-22 10:52:48

Array Functions

Last updated:2024-01-22 10:57:48

Interval-Valued Comparison and Periodicity-Valued Comparison Functions

Last updated:2024-01-22 10:52:48

JSON Functions

Last updated:2024-01-22 10:52:48

Window Functions

Last updated:2024-01-22 10:52:48

Sampling Analysis

Last updated:2024-01-20 17:25:15

Associate With External Data

Last updated:2025-09-25 20:12:48

Configuring Indexes

Last updated:2025-11-19 20:15:33

Reindexing

Last updated:2024-01-20 17:25:15

Multi-Topic Search

Last updated:2024-12-20 16:15:18

Context Search and Analysis

Last updated:2024-01-20 17:25:15

Custom Redirect

Last updated:2024-12-20 16:17:33

Downloading Log

Last updated:2024-01-20 17:25:15

Search and Analysis (Metric Topic)

Syntax Rules

Last updated:2024-09-20 17:48:27

Dashboard

Chart Overview

Last updated:2024-12-25 14:41:47

Creating a Dashboard

Last updated:2024-01-20 17:31:30

Creating Statistical Charts

Adding Chart

Last updated:2024-01-20 17:31:30

Table

Last updated:2024-01-20 17:31:30

Sequence Diagram

Last updated:2024-01-20 17:31:30

Bar Chart

Last updated:2024-01-20 17:31:30

Pie Chart

Last updated:2024-01-20 17:31:30

Individual Value Plot

Last updated:2024-01-20 17:31:30

Gauge Chart

Last updated:2024-01-20 17:31:30

Map

Last updated:2024-01-20 17:31:30

Sankey diagram

Last updated:2024-01-20 17:31:30

Word Cloud

Last updated:2024-01-20 17:31:30

Funnel Chart

Last updated:2024-01-20 17:31:31

Log

Last updated:2024-01-20 17:31:30

Text

Last updated:2024-03-11 16:07:32

Heatmap

Last updated:2024-12-25 12:02:21

Data conversion

Last updated:2024-01-20 17:31:30

Unit Configuration

Last updated:2024-01-20 17:31:31

Filters and Variables

Last updated:2024-01-20 17:31:31

Interaction Event

Last updated:2024-03-11 16:04:40

Chart Time Configuration

Last updated:2024-03-11 16:04:05

Preset Dashboard

Last updated:2024-01-20 17:31:30

Subscribing to Dashboard

Last updated:2024-01-20 17:31:30

Data Processing documents

Data Processing

Data Processing Overview

Last updated:2024-12-20 16:13:10

Creating Processing Task

Last updated:2025-12-02 18:03:32

Viewing Data Processing Details

Last updated:2024-01-20 17:44:35

Data Processing Functions

Function Overview

Last updated:2025-06-11 17:26:46

Visualization Functions

Last updated:2025-12-03 18:30:47

Key-Value Extraction Functions

Last updated:2024-01-20 17:44:35

Enrichment Functions

Last updated:2025-12-11 11:18:23

Flow Control

Last updated:2024-01-20 17:44:35

Row Processing Functions

Last updated:2025-12-05 11:26:34

Field Processing Functions

Last updated:2025-12-05 11:41:07

Dictionary and List Functions

Last updated:2025-12-03 18:30:47

Regular Expression Processing Functions

Last updated:2024-01-20 17:44:35

Time Value Processing Functions

Last updated:2025-04-29 17:22:21

String Processing Functions

Last updated:2025-07-16 16:09:59

Type Conversion Functions

Last updated:2024-01-20 17:44:35

Logical and Mathematical Functions

Last updated:2025-12-05 11:51:10

Encoding and Decoding Functions

Last updated:2025-04-30 09:45:11

IP Parsing Functions

Last updated:2024-01-20 17:44:35

Resource Functions

Last updated:2025-12-03 18:30:47

Processing Cases

Case Overview

Last updated:2025-11-25 09:11:39

Single-Line Text Log Structuration

Last updated:2024-01-20 17:44:35

Log Structuration-JSON

Last updated:2024-12-18 16:37:58

Multi-Format Log Structuration

Last updated:2024-01-20 17:44:35

Using Separators to Extract Specified Content from Logs

Last updated:2024-01-20 17:44:35

Log Structuring - Grok

Last updated:2024-12-18 16:36:30

Log Distribution

Last updated:2024-01-20 17:44:35

Log Masking

Last updated:2024-12-03 19:08:26

Log Filtering

Last updated:2024-12-18 16:37:22

Logstash Statement Reference Table

Last updated:2025-12-03 18:30:47

Scheduled SQL Analysis

Overview

Last updated:2024-01-20 17:44:35

Creating Task

Last updated:2024-01-20 17:44:35

Viewing Task

Last updated:2024-01-20 17:44:35

SCF

Last updated:2024-01-20 17:44:35

Shipping and Consumption

Shipping Overview

Last updated:2024-01-20 17:44:35

CLS Service Role Authorization

Last updated:2024-01-20 17:44:35

Shipping to COS

Creating Shipping Task

Last updated:2025-12-03 18:30:48

Shipping Original Log Text

Last updated:2025-12-03 18:30:48

Shipping Job Management

Last updated:2025-12-03 18:30:48

Configure Alarms

Last updated:2025-12-03 18:30:48

Shipping to CKafka

Creating Shipping Task

Last updated:2025-07-03 20:10:49

Shipping Job Management

Last updated:2025-12-03 18:30:48

Configure Alarms

Last updated:2025-12-03 18:30:48

Shipping to DLC

Creating a DLC Shipping Task

Last updated:2025-06-27 19:12:54

Shipping to Splunk

Last updated:2025-11-18 11:23:06

Log Consumption

Consumption over Kafka

Using Kafka Protocol to Consume Logs

Last updated:2025-11-25 19:15:50

Task Monitoring and Alarm

Last updated:2025-12-03 18:30:48

Consumption Parameter Description

Last updated:2025-12-03 18:30:48

Consumption Demo - multi-language SDK

Last updated:2025-12-03 18:30:48

Consumption Demo - Third-party Software

Last updated:2025-12-03 18:30:48

Consumption Demo - Stream Processing

Last updated:2025-12-03 18:30:49

Customized Consumption

Last updated:2025-12-03 18:30:49

Metric Topic Shipping

Last updated:2024-08-27 17:58:40

Monitoring Alarm

Monitoring Alarm Overview

Last updated:2024-01-20 17:59:35

Managing Alarm Policies

Configuring Alarm Policies

Last updated:2024-01-20 17:59:36

Trigger Condition Expression

Last updated:2024-01-20 17:59:35

Channels to Receive Alarm Notifications

Receiving Alarm Notifications via SMS and Phone

Last updated:2024-01-20 17:59:36

Email

Last updated:2024-01-20 17:59:36

Custom Callback APIs

Last updated:2024-01-20 17:59:35

Managing Notification Groups

Last updated:2024-01-20 17:59:36

Alarm Notification Variable

Last updated:2025-11-19 19:39:42

Viewing Alarm Records

Last updated:2024-01-20 17:59:35

Alarm Silence

Last updated:2024-06-06 17:05:09

Cloud Insight

Overview of Cloud Insight

Last updated:2025-04-07 14:50:44

CLB Cloud Insight

Last updated:2025-04-07 14:50:44

CDN Cloud Insight

Last updated:2025-04-07 14:50:44

COS Cloud Insight

Last updated:2025-04-07 14:50:44

SCF Cloud Insight

Last updated:2025-04-07 14:50:44

TKE Cloud Insight

Last updated:2025-04-07 14:50:45

Historical Documentation

Operation guide of earlier LogListener versions

Last updated:2024-01-20 17:55:44

Troubleshooting earlier LogListener versions

Last updated:2024-01-20 17:55:44