Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Setting a Structuring Template

Updated on 2025-01-21 GMT+08:00

LTS supports two types of structuring templates: system and custom templates.

System Templates

You can choose from multiple system templates, but cannot modify the field types in them or delete the fields. For details, see Table 1.

  1. On the Cloud Structuring Parsing tab page, select Structuring Template.
  2. Click System template and select a template. A sample log event is displayed for each template.
  1. View the log parsing results in the Template Details table.

    NOTE:
    • If you select a system template for structuring, it uses the custom log time. You can search for a template by template name to quickly query its information.
    • Fields of the string type do not support range query using the >, =, or < operators or the "in" syntax. Use asterisks (*) or question marks (?) for fuzzy query. You need to reconfigure the structuring and change the value of this field to a number.
    Table 1 System template fields

    Template Name

    Field Name

    Field Type Can Be Changed

    Field Can Be Deleted

    ELB

    Defined by ELB.

    No

    No

    VPC

    Defined by VPC.

    No

    No

    CTS

    Keys in JSON log events.

    No

    No

    APIG

    Defined by APIG.

    No

    No

    DCS audit logs

    Defined by DCS.

    No

    No

    TOMCAT

    Defined by Tomcat.

    No

    No

    NGINX

    Defined by Nginx.

    No

    No

    GAUSSV5 audit logs

    Defined by GAUSSV5.

    No

    No

    DDS audit logs

    Defined by DDS.

    No

    No

    DDS error logs

    Defined by DDS.

    No

    No

    DDS slow query logs

    Defined by DDS.

    No

    No

    CFW access control logs

    Defined by CFW.

    No

    No

    CFW attack logs

    Defined by CFW.

    No

    No

    CFW traffic logs

    Defined by CFW.

    No

    No

    MySQL error logs

    Defined by MySQL.

    No

    No

    MySQL slow query logs

    Defined by MySQL.

    No

    No

    POSTGRESQL slow query logs

    Defined by PostgreSQL.

    No

    No

    POSTGRESQL error logs

    Defined by PostgreSQL.

    No

    No

    SQLServer error logs

    Defined by SQL Server.

    No

    No

    GeminiDB Redis slow query logs

    Defined by GeminiDB Redis.

    No

    No

    CDN

    Defined by CDN.

    No

    No

    SMN

    Defined by SMN.

    No

    No

    GAUSSDB_MYSQL error logs

    Defined by GaussDB(for MySQL).

    No

    No

    GaussDB_MySQL slow query logs

    Defined by GaussDB(for MySQL).

    No

    No

    ER Enterprise Router

    Defined by Enterprise Router.

    No

    No

    MySQL audit logs

    Defined by MySQL.

    No

    No

    GeminiDB Cassandra slow query logs

    Defined by GeminiDB Cassandra.

    No

    No

    GeminiDB Mongo slow query logs

    Defined by GeminiDB Mongo.

    No

    No

    GeminiDB Mongo error logs

    Defined by GeminiDB Mongo.

    No

    No

    WAF access logs

    Defined by WAF.

    No

    No

    WAF attack logs

    Defined by WAF.

    No

    No

    DMS rebalancing logs

    Defined by DMS.

    No

    No

    CCE audit logs

    Defined by CCE.

    No

    No

    CCE event logs

    Defined by CCE.

    No

    No

    CCE NGINX-INGRESS logs

    Defined by CCE.

    No

    No

    -

    GeminiDB Redis audit logs

    Defined by GeminiDB Redis.

    No

    No

    Influx slow query logs

    Defined by Influx.

    No

    No

    METRIC system logs

    Defined by the monitoring log fields filtered by the metric generation task.

    No

    No

    Microgateway

    Defined by Microgateway.

    No

    No

    GeminiDB Mongo audit logs

    Defined by GeminiDB Mongo.

    No

    No

  2. Click Save.

Custom Templates

Click Custom template and select a template. Custom templates can be obtained in the following ways:
  • When you extract fields using methods of regular expression, JSON, delimiter, or Nginx, click Save as Template in the lower left corner. In the displayed dialog box, enter a template name and click OK. The template will be displayed in the custom template list.
  • Create a custom template under the Structuring Template option.
    1. Click Custom template and Create Template.
    2. On the displayed page, select Regular Expressions, JSON, Delimiter, or Nginx.
    3. After configuration, enter a template name and click Save. The template will be displayed in the custom template list.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback