tencent cloud

All product documents
Cloud Log Service
Case Overview
Last updated: 2024-12-18 16:38:39
Case Overview
Last updated: 2024-12-18 16:38:39

Overview

The cases in this document will help you get a general and perceptual understanding of data processing. You can write your own data processing scripts according to the examples mentioned below .

Common Mistakes

v function: v("Field A"), which means "value of 'Field A'", that is, the value of Field A. Among the parameters of data processing functions, some are fields, such as fields_drop("Field A"), and some are field values. In such cases, the v function needs to be used to obtain the values. For example, str_len(v("Field A")). A common mistake made by beginners is that when the parameter is a field value, they fail to use the v function to obtain the field value, resulting in the failure of the function execution.
Log distribution: the target log topics and their target names need to be configured in advance. The target names will be used in the distribution functions.
fields_set function: the fields_set function is used to set field values and store the content processed by data processing function. For example, fields_set("A+B",op_add(v("Field A"),v("Field B"))) is to add the values of fields A and B, and the op_add function needs to leverage the fields_set function to complete result writing and storage.

Overview

You can refer to the following cases to complete your data processing:
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon