Structuring Templates
LTS supports two types of structuring templates: system templates and custom templates.
System Templates
System templates: VPC, Tomcat, Nginx
- Click System template and select a template. A sample log event is displayed for each template.
- When you select a template, the log parsing result is displayed in the Template Details area. Click Save.
During log structuring, if a system template is used, the time in the system template is the customized log time.
Custom Templates
- 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 the template name and click OK. The template will be displayed in the custom template list.
- Create a custom template under the Structuring Template option.
Select Custom template and click Create Template. Enter a template name, select Regular Expressions, JSON, Delimiter, or Nginx, configure the template, and click Save. The template will be displayed in the custom template list.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot