tencent cloud

Cloud Log Service

Shipping Overview

Download
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-07-02 21:36:26

Feature Overview

CLS can ship data from log topics to Tencent Cloud COS, CKafka, DLC, and Splunk. You can treat a log topic as a Topic and consume the data to a specified destination using the Kafka protocol or a custom consumption SDK.

Delivery

Product Feature
Target Type
Use Cases
Object storage
Long-term storage.
Message middleware
Log stream processing.
Data Lake
Big data analysis.
Third-party product/SIEM
Analyze logs in Splunk.

Consumption

Product Feature
Computing Framework/Connector
Client Description
Supports community-standard libraries such as confluent-kafka, seamlessly integrates with various big data components, and is easy to use.
Self-developed SDK, requiring users to have certain coding skills.

Pre-filtering Functions

You can use the pre-filtering function to process logs before they are shipped or consumed, delivering or consuming logs that meet the filter criteria to the corresponding destinations. Currently, pre-filtering is supported for shipping to Splunk and custom consumption (SDK). Pre-filtering is a subset of data processing functions . Refer to the following table for details.

Logical Expression Functions

Used to build judgment conditions.
Function Name
Function Feature
Function Syntax Description
Return Value Type
Return a value based on a specified condition.
op_if (condition 1, value 1, value 2)
If the condition is True, value 1 is returned; otherwise, value 2 is returned.
Perform the and operation on values. If all the specified parameter values are evaluated to True, True is returned. Otherwise, False is returned.
op_and (value 1, value 2, ...)
Result of the computation (BOOL)
This function is used to perform the OR operation on values. If one or more of the specified parameter values are evaluated to False, False is returned. Otherwise, True is returned.
op_or (value 1, value 2, ...)
Result of the computation (BOOL)
Used to perform the NOT operation on values.
op_not (value)
Result of the computation (BOOL)
Compare two values. If the values are equal, True is returned.
op_eq (value 1, value 2)
Result of the comparison (BOOL)
Compare two values. If value 1 is greater than or equal to value 2, True is returned.
op_ge (value 1, value 2)
Result of the comparison (BOOL)
Compare two values. If value 1 is greater than value 2, True is returned.
op_gt (value 1, value 2)
Result of the comparison (BOOL)
Compare two values. If value 1 is less than or equal to value 2, True is returned.
op_le (value 1, value 2)
Result of the comparison (BOOL)
Compare two values. If value 1 is less than value 2, True is returned.
op_lt (value 1, value 2)
Result of the comparison (BOOL)
Check whether a value is null. If yes, return True. Otherwise, return False.
op_null (value)
Result of the computation (BOOL)
Check whether a value is not null. If yes, return True. Otherwise, return False.
op_notnull (value)
Result of the computation (BOOL)
Compare two string values. If they are equal, True is returned.
op_str_eq (value 1, value 2, ignore_upper=False)
Result of the computation (BOOL)
If the field exists, return True. Otherwise, return False.
has_field (field name)
Conditional value (BOOL)
If the field does not exist, return True. Otherwise, return False.
not_has_field (field name)
Conditional value (BOOL)
Determines whether a substring exists.
Note:
Regular expressions are not supported, and the wildcard * is not supported.
str_exist (value 1, value 2, ignore_upper=False)
Result of the computation (BOOL)

Row Processing Functions

Used to determine whether logs are retained or discarded.
Function Name
Function Feature
Function Syntax Description
Return Value Type
Discard logs that meet a specified condition.
log_drop (condition 1)
Log (LOG)
Retain logs that meet a specified condition.
log_keep (condition 1)
Log (LOG)

Billing Description

Shipping incurs private network or public network read traffic fees (cross-region shipping is not currently supported). See Billing Overview for details, and refer to Product Pricing for unit prices.

Feature Limits

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan