Template Management¶
The Template Management page allows you to view, search, and import all built-in template projects of Guance.
Related Actions¶
- You can filter templates directly by category or language; in the search box, you can enter keywords directly to search and locate;
- Click Batch Operations to delete selected templates in bulk; you can also click the delete button on the right side of a template to perform the operation;
Import Templates¶
Template Management has two versions: the version used by Deployment Plan users before the update 1.89.169 and the updated version. Based on the different versions, there are some slight differences when importing templates for different template types.
Currently, both versions support importing the following types of templates: Built-in Views, Detection Library, Custom Explorer, Pipeline.
Before Version Update¶
- When selecting different template types, you can directly download templates on the import configuration page > to the right of the category drop-down list;
- After exporting Detection Library and Pipeline templates, you must edit the JSON file according to the official template specifications before use.
Editing Instructions
Detection Library:
checkers: Must be replaced with the exported monitor template;title: Required; Detection Library name;summary: Optional; Detection Library description;iconSet: Optional; Detection Library logo link; if not configured, the official default logo will be displayed;thumbnail: Not required to configure, but cannot be deleted; otherwise, import will fail.
Pipeline (only supports log Pipeline):
pipelinename; format: xxxx.p;pipeline: Required; parsing rules (must be Base64-encoded text);examples: Optional; sample data, supports configuring multiple (must be Base64-encoded text).
After Version Update¶
All four types of templates can be exported directly from the front-end console and imported from the management backend.
Note: Supports uploading multiple files at once.
Built-in Views: Can be created and exported in the console > Dashboard / Custom Views.
Custom Explorer: Can be created and exported in the console > Scenarios > Explorer.
Detection Library: The Detection Library of Guance contains multiple monitor rule templates. Supports exporting in the monitor list.
You can directly import one or more monitor templates. The Detection Library name must be unique, but there are no restrictions within the monitor.
Pipeline: Supports multiple types, including log, metrics, RUM, etc.
During import, Pipeline names of the same type cannot be duplicated. After successful import, the Pipeline type can be viewed in the description of the template list. If the imported Pipeline template contains test sample data, it will be displayed in the testData of the official library template details.
Export Instructions
category: Data type; supports importing non-log templates;name: Pipeline name;content: Pipeline script content;testData: Optional; test sample data.
After successful import, the Pipeline type will be automatically recognized and filled in the description of the list, and it will distinguish between Chinese and English.






