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 Left Navigation Panel, in the Folders and Logs tree, select any log in the system.
The log records are displayed in the Log Viewer.Mouse over the log and right click on it. Option bar opens
Select Save as Template.ÂNew Template Console opens:
Â
Type a Name for the template
Type a Description for the template
Click Save.
In Left Navigation Panel, enter Data > Patterns and locate in the Templates Console the latest added Template.
Templates Advanced Configuration:
Include template while running wizard
Determines whether to match this template to detected logs during the add logs directory processUse 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 templateIgnore 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