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:
  1. 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.
  2. Mouse over the log and right click on it. Option bar opens
    Select Save as Template. 
  3. New Template Console opens:
      1. Type a Name for the template
      2. Type a Description for the template
  4. Click Save.
  5. In Left Navigation Panel, enter Data > Patterns and locate in the Templates Console the latest added Template.

Templates Advanced Configuration:

  1. Include template while running wizard
    Determines whether to match this template to detected logs during the add logs directory process
  2. 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
  3. 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