com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'html' is unknown.

Adding an Over SSH Log

To add an Over SSH log to XpoLog:
  1. In Connection Details, select the SSH account required to connect to the log, or click the new link to add an account  to the system (see Address Book).
    Note: If you do not have any SSH accounts defined in XpoLog, the Add SSH account page is presented automatically.
  2. In Log Path, type the path to the log on the remote machine 
    OR
    C
    lick Browse to open the System Files Browser of the remote machine that you connected to, expand the folders to get to the desired log, and then click Select to display the log location in Log Path.
  3. Optionally, append to the log path a name pattern to capture multiple files from the same log. (For pattern syntax, see XpoLog Patterns Language.)
  4. Optionally, define advanced settings for the SSH log – Files Filters, and/or Regional Settings (see Configuring Advanced Log Settings).
  5. 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 administrationscreen opens. Apply patterns on the log data and save the log in XpoLog (see Applying Patterns on the Log).

 

Comments:

  • XpoLog utilized some system commands on the remote server in order to read the logs without the need to deploy agents. In case XpoLog indicates that some of these commands are missing (mainly the 'Less' command), it is very easy to use XpoLog LogAway which replaces the native commands 
  • Over SSH supports  gz, tar and tar.gz logs without extracting them:
    If you have a file archive.gz with a single file in it, it should be defined directly on that file archive.gz
    If you have a file archive.tar / archive.tar.gz with a single file in it, it should be defined directly on that file archive.tar or archive.tar.gz
    If you have a file archive.tar / archive.tar.gz, 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.tar?log-name.log{string} or archive.tar.gz?log-name.log{string}