Documentation forKiwi Syslog Server

Add an action to log messages to a file — Legacy

This snippet is used for legacy 9.8.3 topics that link to a KSS NG topic of the same name.

You can add a Kiwi Syslog Server action to log messages to a file in the file format you select. By logging messages to a file, you can archive received logs for compliance with, for example, internal security or regulatory requirements.

  1. From the Kiwi Syslog Service Manager, choose File > Setup.
  2. Add a rule, or locate an existing rule.
  3. Right-click Actions below the rule, and click Add Action.
  4. Click the default action name, and enter a descriptive name.
  5. From the Action menu, select Log to file.

  6. Specify the following options:

    Path and file name of log file

    Enter a path and file name, or browse to select a file. The default file location is <installPath>\Logs\SyslogCatchAll-%DateISO.txt.

    To split incoming messages into multiple files, insert an AutoSplit value in the path or file name.
    For example, the current date variable %DateISO is inserted at the end of the default file name. This appends the date to the end of the file name, so a new message log file is created for each day.

    To select a value:

    1. Place your cursor in the path or file name at the location you want to insert the AutoSplit value.
    2. Click Insert AutoSplit value and select the value.
    Log file format Specify the file format. You can select a standard format or create a custom format.

    Custom formats are listed at the end of the Log file format menu, after the standard and reserved formats.

  7. (Optional) Configure automatic log file rotation.
  8. Test the action.
  9. Click Apply.

You can use schedules in legacy KSS to automate log file archival and retention.