Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > Kiwi Syslog Server > Kiwi Syslog Server Administrator Guide > Add rules, filters, and actions > Add an action > Add an action to log messages to a file

Add an action to log messages to a file

Table of contents
No headers

You can add an action to log messages to a file in the file format you select.

  1. From the Kiwi Syslog Service Manager, choose File > Setup. 
  2. Add or locate the rule that the action applies to.
  3. Right-click the Actions node below the rule, and choose Add Action.
  4. Replace the default name with a descriptive name. (The name does not have to be unique.)
  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 location is <installpath>\Logs\SyslogCatchAll-%DateISO.txt</installpath>.

    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 where 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. To automatically rotate log files:
    1. Select Enable Log File Rotation.
    2. Specify the total number of log files in the rotation set.
    3. Specify the rotation criteria:
      • To rotate files based on size, select Maximum log file size.
      • To rotate files based on age, select Maximum log file age.
  8. (Optional) Test the action.
  9. Click Apply to save the action.

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

Last modified

Tags

Classifications

Public