Submit a ticketCall us

WebinarWebinar: A checklist for planning your Network Performance Monitor (NPM) upgrade

Are you ready for your next upgrade? To help you plan smoothly, join this webcast to learn more about, SolarWinds® Orion® Installer, SolarWinds Upgrade Advisor, Upgrades Guides, Training Videos, and other resources available. We’ll share key upgrade planning considerations, lessons learned from customers with practical advice from SolarWinds Product Experts. We’ll also give practical tips to identify the estimated time needed and resources, how to prepare the business and IT staff for changes, ways to plan for required system changes, and more.

Register now.

Home > Success Center > Network Performance Monitor (NPM) > NPM - Knowledgebase Articles > Delete or move SolarWinds log files

Delete or move SolarWinds log files

Created by Justin Wyllys, last modified by Su-Lyn Rosenberry-ret on Jan 09, 2017

Views: 7,399 Votes: 6 Revisions: 9

Overview

This article describes how to delete or move SolarWinds log files in your system if you experience drive space issues. This article also demonstrates how to automate log management tasks.

Environment

All Orion Core products and versions

Resolution

Delete logs

  1. Launch the command prompt as administrator
  2. Run either or both of the following commands to delete log files.
    To remove current logs only:
    del /F /Q /S C:\programdata\solarwinds\*.log
    To remove old logs only:
    del /F /Q /S C:\programdata\solarwinds\*.log.*

Move logs

  1. Launch the command prompt as administrator
  2. Run either or both of the following commands to move log files.
    To move current logs only:
    robocopy C:\ProgramData\Solarwinds C:\destination_folder *.log /S /MOV
    To move old logs only:
    robocopy C:\ProgramData\Solarwinds C:\destination_folder *.log.* /S /MOV

Automate log management tasks

  1. Open the task scheduler as an administrator.
  2. Create a new Basic Task.
  3. Enter the name of the task, and create a schedule.
  4. Choose Start a program, and browse for C:\Windows\System32\cmd.exe.
  5. In the Add arguments field, enter one of the commands from Delete logs or Move logs section.
  6. Complete the wizard.
Last modified

Tags

Classifications

Public