On a Windows machine, you can bring into XpoLog local logs that reside on either of the following:
- The same Windows machine, provided that XpoLog has Read permissions on these logs. Example: My Computer > C > Logs Directory.
- A remote server to which you have direct access. This requires providing a UNC path (\\hostname\dir_name\) through which XpoLog can locate the files on these servers. Example: \\qaserver\c$.
In cases where you want to view or search an archived log, you can restore it by adding it as a local log.
Note: To access a remote Windows server that requires authentication, see Adding a Windows Network Log.
To add a local log to XpoLog:
- In Log Path, type the path to the log's location
OR
Click Browse and in the System Files Browser that opens, expand the folders to get to the desired log, and then click Select to display the log location in Log Path. - Optionally, append to the log path a name pattern to capture multiple files from the same log. (For pattern syntax, see XpoLog Patterns Language.)
- Optionally, define advanced settings for the local log – Files Attributes, Files Filters, and/or Regional Settings (see Configuring Advanced Log Settings).
- Click either of the following buttons:
Save – XpoLog applies an automated pattern on the incoming log, and the Log Viewer opens displaying the parsed records of the new log. The log name is displayed in the left pane in its selected location under Folders and Logs. If you put in the log path a {string} pattern, the various files of the log appear in the left pane. Otherwise, only one file appears. You can perform regular actions on this log.
Next – The Patterns administration screen opens. Apply patterns on the log data and save the log in XpoLog (see Applying Patterns on the Log).
Comments:
- On a Unix machine, you can bring into XpoLog local logs that reside on the same machine or in a mounted directory to which you have direct access.
- On a Windows machine you can define zipped logs (single/multiple files) without extracting them:
If you have a file archive.zip, which contains inside a single file, it should be defined directly on that file archive.zip
If you have a file archive.zip, which contains inside multiple files (log-name.log, log-name.log.1, log-name.log.2, ..., log-name.log.N) it should be defined using the name pattern: archive.zip?log-name.log{string}