com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html' is unknown.
Saving a Log as a Template
You can save any log in the system that is opened in the Log Viewer, as a template. The file structure, patterns, and customization (if it exists) of the log are all saved in the template. This template is then available for applying on other logs in XpoLog.
To save a log as a template:
- In XpoLog Manager left pane, in the Folders and Logs tree, select any log in the system.
The log records are displayed in the Log Viewer. - Select the Configuration > Save as Template menu item.
The Save Template page is displayed.Â
Note: A log must be selected before selecting  Configuration > Save as Template. Otherwise, an error occurs. - Select one of the following:
- Overwrite an existing template:Â
- Select an existing template from the templates' list.
Note: the template will be overwritten by the configuration of the log that is currently being saved as the template. The template's Name and Description will remain as before.
- Select an existing template from the templates' list.
- Create a new template:
- Type a meaningful Name and Description for the template
- Overwrite an existing template:Â
- Click Save.
The Templates page opens, displaying the new template name on the templates list.
Â
Templates Advanced Configuration:
- Include template while running wizard
Determines whether to match this template to detected logs during the add logs directory process - Use template's validation while running wizard
If checked, the data from the log file will be matched to the template's pattern in addition to matching the log file name
If not checked, only log file name will be matched to the template - Ignore file's name expression
If checked, the log file name in the template will be ignored and the template will be matched to the log file by either searching for a text in the header of the file, or applying an expression that will "replace" the log file's name