Windows Software Probe SYSLOG Log Rotation And Filesize

Last Modified

Fri Apr 12 15:04 GMT 2019

Description

  • This article will explain the Log Rotation Parameters for the Windows Software Probe Syslog
  • How to increase the size and/or amount of logs generated by the Windows Software Probe Syslog
  • The Changes are made in C:\Program Files (x86)\N-able Technologies\Windows Software Probe\syslog\nsyslog.conf.template folder

Environment

  • N-able N-central

Solution

  • Explanation of Logrotate related parameters:
  • intervaltime
    • Is defined in Minutes.
    • MIN. value the user can set is 0 minute (which implies never rotate - timer will never fire)
    • For log rotate to happen therefore the MIN is 1 minute (timer will check every minute the filesize for rotation)
    • MAX value the user can set is 10080 or 7 days (which implies the timer will fire at the 7th day to check for filesize)
    • If no value is defined in the config it is set to 20 minutes.
  • maxfilenum:
    • MIN. value the user can set is 0.
    • MAX value the user can set is 65535.
    • If no value is defined in the config it is set to 0.
  • filesize:
    • Is defined in Kilobytes
    • MIN. value the user can set is 1(KB).
    • MAX value the user can set is 1048576 (KB) = (1GB)
    • If no value is defined in the config it is set to 1(KB)
  • For logrotate to work properly (i.e. rotate at correct size) the file size should be such that it is always greater than the amount of data written within the intervaltime
  • If it is not,log will get rotated at the time when the file size is checked
  • Once changes are made to the nsyslog.conf.template file please restart the Windows Software Probe Services.