Submit a ticketCall us

WebinarFREE IT Monitoring Webcast

Don’t miss out on our webcast, Essential IT Monitoring with SolarWinds ipMonitor, where we will show you how to keep an eye on your IT environment from one centralized, affordable, and lightweight monitoring tool: SolarWinds® ipMonitor®.

Register now.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > 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: 847 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