Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Network Performance Monitor (NPM) > Save Syslog messages to time-stamped files

Save Syslog messages to time-stamped files

Table of contents
Created by Michael Osborn, last modified by MindTouch on Jun 23, 2016

Views: 28 Votes: 0 Revisions: 7

Overview

 

This article describes how to configure Syslog viewer to save Syslog messages to a text file that is automatically time-stamped with the current date, in order to prevent a single log file from growing very large over time, instead splitting the logs per day.

Environment

  • All NPM versions 
  • Any module that includes the Syslog service

Detail

 

1. Click Start > Programs > SolarWinds Orion > Syslog and SNMP Traps > Syslog Viewer.

2. Click View > Alerts/Filter Rules.

3. Click Add New Rule or click Edit to edit an existing rule.

4. On the Alert Actions tab, click Add New Action.

5. Select Log the Message to a file and click OK.

6. In the Alert Log File field, browse for or type the path you want the files to be stored at.

7. Include the following variables to format the file name:

  •     a. ${Year} for the Year
  •     b. ${M} for the numerical Month (1-12)
  •     c. ${D} for the numerical Day (1-31)
    For example:  C:\Temp\Syslog-${Year}-${M}-${D}.txt

 

Last modified

Tags

Classifications

Public